Package com.sun.identity.saml2.assertion
Interface EncryptedAttribute
- All Superinterfaces:
EncryptedElement
,XmlSerializable
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
Modifier and TypeMethodDescriptiondecrypt
(Set<PrivateKey> privateKeys) Returns an instance ofAttribute
object.Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
decrypt
Returns an instance ofAttribute
object.- Parameters:
privateKeys
- Private keys of the recipient used to decrypt the secret key.- Returns:
Attribute
object.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if error occurs.
-