Package com.sun.identity.saml2.assertion
Interface EncryptedAttribute
-
- All Superinterfaces:
EncryptedElement,XmlSerializable
@SupportedAll public interface EncryptedAttribute extends EncryptedElement
TheEncryptedAttributeelement represents a SAML attribute in encrypted fashion. It's of typeEncryptedElementType.<element name="EncryptedAttribute" type="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedElementType"/>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Attributedecrypt(Set<PrivateKey> privateKeys)Returns an instance ofAttributeobject.-
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
-
-
-
Method Detail
-
decrypt
Attribute decrypt(Set<PrivateKey> privateKeys) throws SAML2Exception
Returns an instance ofAttributeobject.- Parameters:
privateKeys- Private keys of the recipient used to decrypt the secret key.- Returns:
Attributeobject.- Throws:
SAML2Exception- if error occurs.
-
-