Interface EncryptedKey

  • All Superinterfaces:
    EncryptedType, XMLObject

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

      • DEFAULT_ELEMENT_NAME

        static final QName DEFAULT_ELEMENT_NAME
        Default element name.
      • TYPE_NAME

        static final QName TYPE_NAME
        QName of the XSI type.
    • Method Detail

      • 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