Interface EncryptedAttribute

All Superinterfaces:
EncryptedElement, XmlSerializable

@SupportedAll 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 Details

    • decrypt

      Attribute decrypt(Set<PrivateKey> privateKeys) throws com.sun.identity.saml2.common.SAML2Exception
      Returns an instance of Attribute 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.