java.lang.Object
org.apache.xml.security.encryption.params.KeyDerivationParameters
org.apache.xml.security.encryption.params.ConcatKDFParams

public class ConcatKDFParams extends KeyDerivationParameters
Class ConcatKDFParams is used to specify parameters for the ConcatKDF key derivation algorithm.
See Also:
  • Constructor Details

    • ConcatKDFParams

      protected ConcatKDFParams(int keyBitLength, 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 Details

    • getDigestAlgorithm

      public 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(String digestAlgorithm)
    • getAlgorithmID

      public String getAlgorithmID()
    • setAlgorithmID

      public void setAlgorithmID(String algorithmID)
    • getPartyUInfo

      public String getPartyUInfo()
    • setPartyUInfo

      public void setPartyUInfo(String partyUInfo)
    • getPartyVInfo

      public String getPartyVInfo()
    • setPartyVInfo

      public void setPartyVInfo(String partyVInfo)
    • getSuppPubInfo

      public String getSuppPubInfo()
    • setSuppPubInfo

      public void setSuppPubInfo(String suppPubInfo)
    • getSuppPrivInfo

      public String getSuppPrivInfo()
    • setSuppPrivInfo

      public void setSuppPrivInfo(String suppPrivInfo)
    • createBuilder

      public static ConcatKDFParams.Builder createBuilder(int keyBitLength, 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