Package com.sun.identity.saml2.assertion
Interface EncryptedAssertion
- All Superinterfaces:
EncryptedElement
,XmlSerializable
The
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.-
Method Summary
Modifier and TypeMethodDescriptiondecrypt
(Set<PrivateKey> privateKeys) Decrypt the encrypted assertion.Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
decrypt
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:
com.sun.identity.saml2.common.SAML2Exception
- if it could not decrypt the assertion properly.
-