com.sun.identity.saml2.assertion
Interface EncryptedID
- All Superinterfaces:
- EncryptedElement
public interface EncryptedID
- extends EncryptedElement
The EncryptedID carries the content of an unencrypted
identifier in encrypted fasion. It contains an EncryptedData
and zero or more EncryptedKeys.
|
Method Summary |
NameID |
decrypt(Key recipientPrivateKey)
Decrypts the encrypted ID. |
decrypt
NameID decrypt(Key recipientPrivateKey)
throws SAML2Exception
- Decrypts the encrypted ID.
- Parameters:
recipientPrivateKey - Private key 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.