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(Set<PrivateKey> privateKeys)
Decrypt the encrypted assertion.
|
toXMLString, toXMLString
Assertion decrypt(Set<PrivateKey> privateKeys) throws SAML2Exception
privateKeys
- Private keys of the recipient used to decrypt the secret key.SAML2Exception
- if it could not decrypt the assertion properly.Copyright © 2010-2018, ForgeRock All Rights Reserved.