Class XMLCipher.Factory.AgreementMethodImpl

    • Field Detail

      • kaNonce

        private byte[] kaNonce
      • agreementMethodInformation

        private java.util.List<org.w3c.dom.Element> agreementMethodInformation
      • originatorKeyInfo

        private KeyInfo originatorKeyInfo
      • recipientKeyInfo

        private KeyInfo recipientKeyInfo
      • algorithmURI

        private java.lang.String algorithmURI
    • Constructor Detail

      • AgreementMethodImpl

        public AgreementMethodImpl​(java.lang.String algorithm)
        Parameters:
        algorithm -
    • Method Detail

      • getKANonce

        public byte[] getKANonce()
        Returns a byte array.
        Specified by:
        getKANonce in interface AgreementMethod
        Returns:
        a byte array.
      • setKANonce

        public void setKANonce​(byte[] kanonce)
        Sets the KANonce.jj
        Specified by:
        setKANonce in interface AgreementMethod
      • getAgreementMethodInformation

        public java.util.Iterator<org.w3c.dom.Element> getAgreementMethodInformation()
        Returns additional information regarding the AgreementMethod.
        Specified by:
        getAgreementMethodInformation in interface AgreementMethod
        Returns:
        additional information regarding the AgreementMethod.
      • addAgreementMethodInformation

        public void addAgreementMethodInformation​(org.w3c.dom.Element info)
        Adds additional AgreementMethod information.
        Specified by:
        addAgreementMethodInformation in interface AgreementMethod
        Parameters:
        info - a Element that represents additional information specified by
             
           
      • revoveAgreementMethodInformation

        public void revoveAgreementMethodInformation​(org.w3c.dom.Element info)
        Removes additional AgreementMethod information.
        Specified by:
        revoveAgreementMethodInformation in interface AgreementMethod
        Parameters:
        info - a Element that represents additional information specified by
             
           
      • getOriginatorKeyInfo

        public KeyInfo getOriginatorKeyInfo()
        Returns information relating to the originator's shared secret.
        Specified by:
        getOriginatorKeyInfo in interface AgreementMethod
        Returns:
        information relating to the originator's shared secret.
      • setOriginatorKeyInfo

        public void setOriginatorKeyInfo​(KeyInfo keyInfo)
        Sets the information relating to the originator's shared secret.
        Specified by:
        setOriginatorKeyInfo in interface AgreementMethod
        Parameters:
        keyInfo - information relating to the originator's shared secret.
      • getRecipientKeyInfo

        public KeyInfo getRecipientKeyInfo()
        Returns information relating to the recipient's shared secret.
        Specified by:
        getRecipientKeyInfo in interface AgreementMethod
        Returns:
        information relating to the recipient's shared secret.
      • setRecipientKeyInfo

        public void setRecipientKeyInfo​(KeyInfo keyInfo)
        Sets the information relating to the recipient's shared secret.
        Specified by:
        setRecipientKeyInfo in interface AgreementMethod
        Parameters:
        keyInfo - information relating to the recipient's shared secret.
      • getAlgorithm

        public java.lang.String getAlgorithm()
        Returns the algorithm URI of this CryptographicMethod.
        Specified by:
        getAlgorithm in interface AgreementMethod
        Returns:
        the algorithm URI of this CryptographicMethod