|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EntityOperations
This interface encapsulates the set of operations that need to be performed by an entity. $Date$ $Revision$
| Method Summary | |
|---|---|
byte[] |
decryptPayload(SecretKey secretTemplateKey,
byte[] encryptedBytes)
|
byte[] |
encryptPayload(SecretKey secretTemplateKey,
byte[] messageBytes)
|
byte[] |
generateMessageDigest(byte[] encryptedPayload,
String algorithm)
Generate a message digest for the payload |
byte[] |
signPayload(byte[] payload,
PrivateKey personalPrivateKey)
Method to sign a payload with the entity's personal private key |
boolean |
validateMessageDigest(byte[] originalDigest,
byte[] encryptedPayload,
String algorithm)
Check the message integrity |
boolean |
validateSAMLAssertion(String assertion)
Validates the assertion speficied in the message |
boolean |
validateSignature(byte[] signature,
byte[] payload,
PublicKey publisherPublicKey)
Validates the signature associated with an encrypted payload to confirm whether the payload has been tampered with and also to check if the publisher is an authorized one |
| Method Detail |
|---|
byte[] encryptPayload(SecretKey secretTemplateKey,
byte[] messageBytes)
throws ServiceException
ServiceException
byte[] decryptPayload(SecretKey secretTemplateKey,
byte[] encryptedBytes)
throws ServiceException
ServiceException
byte[] signPayload(byte[] payload,
PrivateKey personalPrivateKey)
throws ServiceException
ServiceException
boolean validateSignature(byte[] signature,
byte[] payload,
PublicKey publisherPublicKey)
throws ServiceException
ServiceException
byte[] generateMessageDigest(byte[] encryptedPayload,
String algorithm)
throws ServiceException
ServiceException
boolean validateMessageDigest(byte[] originalDigest,
byte[] encryptedPayload,
String algorithm)
throws ServiceException
ServiceException
boolean validateSAMLAssertion(String assertion)
throws ServiceException
ServiceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||