public interface EncryptedAssertion extends EncryptedElement
EncryptedAssertion
represents an assertion in
encrypted fashion, as defined by the XML Encryption Syntax and
Processing specification [XMLEnc]. The EncryptedAssertion contains
an EncryptedData
and zero or more
EncryptedKey
s.Modifier and Type | Method and Description |
---|---|
Assertion |
decrypt(Key recipientPrivateKey)
Decrypt the encrypted assertion.
|
toXMLString, toXMLString
Assertion decrypt(Key recipientPrivateKey) throws SAML2Exception
recipientPrivateKey
- Private key of the recipient used to
decrypt the secret keySAML2Exception
- if it could not decrypt the assertion properly.Copyright © 2010-2014, ForgeRock All Rights Reserved.