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(java.security.Key recipientPrivateKey)
Decrypt the encrypted ID. |
decrypt
public NameID decrypt(java.security.Key recipientPrivateKey)
throws SAML2Exception
- Decrypt 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.
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.