Package com.sun.identity.saml2.assertion
Interface EncryptedAssertion
- 
- All Superinterfaces:
- EncryptedElement,- XmlSerializable
 
 @SupportedAll public interface EncryptedAssertion extends EncryptedElement TheEncryptedAssertionrepresents an assertion in encrypted fashion, as defined by the XML Encryption Syntax and Processing specification [XMLEnc]. The EncryptedAssertion contains anEncryptedDataand zero or moreEncryptedKeys.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Assertiondecrypt(Set<PrivateKey> privateKeys)Decrypt the encrypted assertion.- 
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializabletoDocumentFragment, toXMLString, toXMLString
 
- 
 
- 
- 
- 
Method Detail- 
decryptAssertion decrypt(Set<PrivateKey> privateKeys) throws SAML2Exception Decrypt the encrypted assertion.- Parameters:
- privateKeys- Private keys of the recipient used to decrypt the secret key.
- Returns:
- an assertion that is decrypted from this object
- Throws:
- SAML2Exception- if it could not decrypt the assertion properly.
 
 
- 
 
-