com.sun.identity.saml2.assertion
Interface EncryptedAttribute
- All Superinterfaces:
- EncryptedElement
- public interface EncryptedAttribute
- extends EncryptedElement
The EncryptedAttribute
element represents a SAML attribute
in encrypted fashion. It's of type EncryptedElementType
.
<element name="EncryptedAttribute" type="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedElementType"/>
Method Summary |
Attribute |
decrypt(java.security.Key recipientPrivateKey)
Returns an instance of Attribute object. |
decrypt
public Attribute decrypt(java.security.Key recipientPrivateKey)
throws SAML2Exception
- Returns an instance of
Attribute
object.
- Parameters:
recipientPrivateKey
- Private key of the recipient used to
decrypt the secret key
- Returns:
Attribute
object.
- Throws:
SAML2Exception
- if error occurs.
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.