public interface EncryptedID extends EncryptedElement
EncryptedID
carries the content of an unencrypted
identifier in encrypted fasion. It contains an EncryptedData
and zero or more EncryptedKey
s.Modifier and Type | Method and Description |
---|---|
NameID |
decrypt(Key recipientPrivateKey)
Decrypts the encrypted ID.
|
toXMLString, toXMLString
NameID decrypt(Key recipientPrivateKey) throws SAML2Exception
recipientPrivateKey
- Private key of the recipient used to
decrypt the secret keyNameID
that is decrypted from this objectSAML2Exception
- if it could not decrypt the ID properly.Copyright © 2010-2013, ForgeRock All Rights Reserved.