Package com.sun.identity.saml2.assertion
Interface EncryptedID
- All Superinterfaces:
EncryptedElement
,XmlSerializable
The
EncryptedID
carries the content of an unencrypted
identifier in encrypted fashion. It contains an EncryptedData
and zero or more EncryptedKey
s.-
Method Summary
Modifier and TypeMethodDescriptiondecrypt
(Set<PrivateKey> privateKeys) Decrypts the encrypted ID.Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
decrypt
Decrypts the encrypted ID.- Parameters:
privateKeys
- Private keys of the recipient used to decrypt the secret key- Returns:
- a
NameID
that is decrypted from this object - Throws:
com.sun.identity.saml2.common.SAML2Exception
- if it could not decrypt the ID properly.
-