Package com.sun.identity.saml2.assertion
Interface EncryptedID
-
- All Superinterfaces:
EncryptedElement
,XmlSerializable
@SupportedAll public interface EncryptedID extends EncryptedElement
TheEncryptedID
carries the content of an unencrypted identifier in encrypted fashion. It contains anEncryptedData
and zero or moreEncryptedKey
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NameID
decrypt(Set<PrivateKey> privateKeys)
Decrypts the encrypted ID.-
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
-
-
-
Method Detail
-
decrypt
NameID decrypt(Set<PrivateKey> privateKeys) throws SAML2Exception
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:
SAML2Exception
- if it could not decrypt the ID properly.
-
-