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(Set<PrivateKey> privateKeys)
Returns an instance of
Attribute object. |
toXMLString, toXMLString
Attribute decrypt(Set<PrivateKey> privateKeys) throws SAML2Exception
Attribute
object.privateKeys
- Private keys of the recipient used to decrypt the secret key.Attribute
object.SAML2Exception
- if error occurs.Copyright © 2010-2018, ForgeRock All Rights Reserved.