public interface EncryptedAttribute extends EncryptedElement
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"/>
Modifier and Type | Method and Description |
---|---|
Attribute |
decrypt(Key recipientPrivateKey)
Returns an instance of
Attribute object. |
toXMLString, toXMLString
Attribute decrypt(Key recipientPrivateKey) throws SAML2Exception
Attribute
object.recipientPrivateKey
- Private key of the recipient used to
decrypt the secret keyAttribute
object.SAML2Exception
- if error occurs.Copyright © 2010-2014, ForgeRock All Rights Reserved.