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
public class FipsAgreementParameters extends FipsParameters
Base parameters class for Diffie-Hellman and MQV based key agreement algorithms.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FipsAlgorithm
getDigestAlgorithm()
Return the digest algorithm ID associated with these parameters.FipsKDF.PRF
getPrfAlgorithm()
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 Detail
-
getDigestAlgorithm
public FipsAlgorithm getDigestAlgorithm()
Return the digest algorithm ID associated with these parameters.- Returns:
- the digest algorithm ID, null if not present.
-
getPrfAlgorithm
public FipsKDF.PRF 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.
-
-