Interface EncryptedKey

All Superinterfaces:
EncryptedType, XMLObject
All Known Implementing Classes:
EncryptedKeyImpl

public interface EncryptedKey
extends EncryptedType
XMLObject representing XML Encryption, version 20021210, EncryptedKey element.
  • Field Details

    • DEFAULT_ELEMENT_LOCAL_NAME

      static final String DEFAULT_ELEMENT_LOCAL_NAME
      Element local name.
      See Also:
      Constant Field Values
    • DEFAULT_ELEMENT_NAME

      static final QName DEFAULT_ELEMENT_NAME
      Default element name.
    • TYPE_LOCAL_NAME

      static final String TYPE_LOCAL_NAME
      Local name of the XSI type.
      See Also:
      Constant Field Values
    • TYPE_NAME

      static final QName TYPE_NAME
      QName of the XSI type.
    • RECIPIENT_ATTRIB_NAME

      static final String RECIPIENT_ATTRIB_NAME
      Recipient attribute name.
      See Also:
      Constant Field Values
  • Method Details

    • getRecipient

      @Nullable String getRecipient()
      Gets the hint about for whom this encrypted key is intended.
      Returns:
      the hint about who this encrypted key is intended for
    • setRecipient

      void setRecipient​(@Nullable String newRecipient)
      Sets the hint about for whom this encrypted key is intended.
      Parameters:
      newRecipient - the hint about who this encrypted key is intended for
    • getReferenceList

      @Nullable ReferenceList getReferenceList()
      Gets the child element containing pointers to EncryptedData and EncryptedKey elements encrypted using this key.
      Returns:
      the element containing a list of pointers to encrypted elements
    • setReferenceList

      void setReferenceList​(@Nullable ReferenceList newReferenceList)
      Sets the child element containing pointers to EncryptedData and EncryptedKey elements encrypted using this key.
      Parameters:
      newReferenceList - the new reference list for this encrypted key
    • getCarriedKeyName

      @Nullable CarriedKeyName getCarriedKeyName()
      Gets the child element carrying the human readable name for this key.
      Returns:
      the human readable name for this key
    • setCarriedKeyName

      void setCarriedKeyName​(@Nullable CarriedKeyName newCarriedKeyName)
      Sets the child element carrying the human readable name for this key.
      Parameters:
      newCarriedKeyName - the human readable name for this key