Package org.bouncycastle.crypto.fips
Class FipsAgreementParameters
java.lang.Object
org.bouncycastle.crypto.fips.FipsParameters
org.bouncycastle.crypto.fips.FipsAgreementParameters
- All Implemented Interfaces:
Parameters
- Direct Known Subclasses:
FipsDH.AgreementParameters
,FipsDH.DHUAgreementParameters
,FipsDH.MQVAgreementParameters
,FipsEC.AgreementParameters
,FipsEC.DHUAgreementParameters
,FipsEC.MQVAgreementParameters
Base parameters class for Diffie-Hellman and MQV based key agreement algorithms.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the digest algorithm ID associated with these parameters.Return the PRF associated with these parameters.byte[]
getSalt()
Return the salt/iv associated with these parameters.Methods inherited from class org.bouncycastle.crypto.fips.FipsParameters
getAlgorithm
-
Method Details
-
getDigestAlgorithm
Return the digest algorithm ID associated with these parameters.- Returns:
- the digest algorithm ID, null if not present.
-
getPrfAlgorithm
Return the PRF associated with these parameters.- Returns:
- the PRF ID, null if not present.
-
getSalt
public byte[] getSalt()Return the salt/iv associated with these parameters.- Returns:
- the salt, null if not present.
-