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(Set<PrivateKey> privateKeys)
Decrypts the encrypted ID.
|
toXMLString, toXMLString
NameID decrypt(Set<PrivateKey> privateKeys) throws SAML2Exception
privateKeys
- Private keys 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-2018, ForgeRock All Rights Reserved.