Class ConcatKDFParams

    • Field Detail

      • digestAlgorithm

        private java.lang.String digestAlgorithm
      • algorithmID

        private java.lang.String algorithmID
      • partyUInfo

        private java.lang.String partyUInfo
      • partyVInfo

        private java.lang.String partyVInfo
      • suppPubInfo

        private java.lang.String suppPubInfo
      • suppPrivInfo

        private java.lang.String suppPrivInfo
    • Constructor Detail

      • ConcatKDFParams

        protected ConcatKDFParams​(int keyBitLength,
                                  java.lang.String digestAlgorithm)
        Constructor ConcatKDFParams with specified digest algorithm
        Parameters:
        keyBitLength - the length of the derived key in bits
        digestAlgorithm - the digest algorithm to use
    • Method Detail

      • getDigestAlgorithm

        public java.lang.String getDigestAlgorithm()
        Method return the digest algorithm. In case of algorithm is not set, the "default" algorithm SHA256 digest algorithm is returned.
        Returns:
        the digest algorithm
      • setDigestAlgorithm

        public void setDigestAlgorithm​(java.lang.String digestAlgorithm)
      • getAlgorithmID

        public java.lang.String getAlgorithmID()
      • setAlgorithmID

        public void setAlgorithmID​(java.lang.String algorithmID)
      • getPartyUInfo

        public java.lang.String getPartyUInfo()
      • setPartyUInfo

        public void setPartyUInfo​(java.lang.String partyUInfo)
      • getPartyVInfo

        public java.lang.String getPartyVInfo()
      • setPartyVInfo

        public void setPartyVInfo​(java.lang.String partyVInfo)
      • getSuppPubInfo

        public java.lang.String getSuppPubInfo()
      • setSuppPubInfo

        public void setSuppPubInfo​(java.lang.String suppPubInfo)
      • getSuppPrivInfo

        public java.lang.String getSuppPrivInfo()
      • setSuppPrivInfo

        public void setSuppPrivInfo​(java.lang.String suppPrivInfo)
      • createBuilder

        public static ConcatKDFParams.Builder createBuilder​(int keyBitLength,
                                                            java.lang.String digestAlgorithm)
        Create a new ConcatKDF key derivation algorithm parameters builder.
        Parameters:
        keyBitLength - the length of the derived key in bits
        digestAlgorithm - the digest algorithm to use
        Returns:
        a new ConcatKDF builder to configure the key derivation parameters