Package com.sun.identity.saml2.assertion
Interface EncryptedID
-
- All Superinterfaces:
EncryptedElement,XmlSerializable
@SupportedAll public interface EncryptedID extends EncryptedElement
TheEncryptedIDcarries the content of an unencrypted identifier in encrypted fashion. It contains anEncryptedDataand zero or moreEncryptedKeys.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NameIDdecrypt(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
NameIDthat is decrypted from this object - Throws:
SAML2Exception- if it could not decrypt the ID properly.
-
-