Module org.apache.santuario.xmlsec
Class ConcatKDFParams
java.lang.Object
org.apache.xml.security.encryption.params.KeyDerivationParameters
org.apache.xml.security.encryption.params.ConcatKDFParams
Class ConcatKDFParams is used to specify parameters for the
ConcatKDF key derivation algorithm.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe ConcatKDF key derivation algorithm parameters builder. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConcatKDFParams(int keyBitLength, String digestAlgorithm) Constructor ConcatKDFParams with specified digest algorithm -
Method Summary
Modifier and TypeMethodDescriptionstatic ConcatKDFParams.BuildercreateBuilder(int keyBitLength, String digestAlgorithm) Create a new ConcatKDF key derivation algorithm parameters builder.Method return the digest algorithm.voidsetAlgorithmID(String algorithmID) voidsetDigestAlgorithm(String digestAlgorithm) voidsetPartyUInfo(String partyUInfo) voidsetPartyVInfo(String partyVInfo) voidsetSuppPrivInfo(String suppPrivInfo) voidsetSuppPubInfo(String suppPubInfo) Methods inherited from class org.apache.xml.security.encryption.params.KeyDerivationParameters
getAlgorithm, getKeyBitLength, getKeyLength
-
Constructor Details
-
ConcatKDFParams
Constructor ConcatKDFParams with specified digest algorithm- Parameters:
keyBitLength- the length of the derived key in bitsdigestAlgorithm- the digest algorithm to use
-
-
Method Details
-
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
-
getAlgorithmID
-
setAlgorithmID
-
getPartyUInfo
-
setPartyUInfo
-
getPartyVInfo
-
setPartyVInfo
-
getSuppPubInfo
-
setSuppPubInfo
-
getSuppPrivInfo
-
setSuppPrivInfo
-
createBuilder
Create a new ConcatKDF key derivation algorithm parameters builder.- Parameters:
keyBitLength- the length of the derived key in bitsdigestAlgorithm- the digest algorithm to use- Returns:
- a new ConcatKDF builder to configure the key derivation parameters
-