Class EncryptedKeyImpl

    • Field Detail

      • recipient

        private String recipient
        Recipient value.
      • carriedKeyName

        private CarriedKeyName carriedKeyName
        CarriedKeyName value.
      • referenceList

        private ReferenceList referenceList
        ReferenceList value.
    • Constructor Detail

      • EncryptedKeyImpl

        protected EncryptedKeyImpl​(String namespaceURI,
                                   String elementLocalName,
                                   String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - namespace URI
        elementLocalName - local name
        namespacePrefix - namespace prefix
    • Method Detail

      • getRecipient

        public String getRecipient()
        Gets the hint about for whom this encrypted key is intended.
        Specified by:
        getRecipient in interface EncryptedKey
        Returns:
        the hint about who this encrypted key is intended for
      • setRecipient

        public void setRecipient​(String newRecipient)
        Sets the hint about for whom this encrypted key is intended.
        Specified by:
        setRecipient in interface EncryptedKey
        Parameters:
        newRecipient - the hint about who this encrypted key is intended for
      • getReferenceList

        public ReferenceList getReferenceList()
        Gets the child element containing pointers to EncryptedData and EncryptedKey elements encrypted using this key.
        Specified by:
        getReferenceList in interface EncryptedKey
        Returns:
        the element containing a list of pointers to encrypted elements
      • setReferenceList

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

        public CarriedKeyName getCarriedKeyName()
        Gets the child element carrying the human readable name for this key.
        Specified by:
        getCarriedKeyName in interface EncryptedKey
        Returns:
        the human readable name for this key
      • setCarriedKeyName

        public void setCarriedKeyName​(CarriedKeyName newCarriedKeyName)
        Sets the child element carrying the human readable name for this key.
        Specified by:
        setCarriedKeyName in interface EncryptedKey
        Parameters:
        newCarriedKeyName - the human readable name for this key