Uses of Class
org.bouncycastle.crypto.fips.FipsDH.DHUAgreementParameters
Packages that use FipsDH.DHUAgreementParameters
-
Uses of FipsDH.DHUAgreementParameters in org.bouncycastle.crypto.fips
Methods in org.bouncycastle.crypto.fips that return FipsDH.DHUAgreementParametersModifier and TypeMethodDescriptionFipsDH.DHUAgreementParametersBuilder.using
(AsymmetricDHPrivateKey ephemeralPrivateKey, AsymmetricDHPublicKey otherPartyEphemeralKey) Constructor for DH DHU parameters which assumes later calculation of our ephemeral public key.FipsDH.DHUAgreementParametersBuilder.using
(AsymmetricDHPublicKey ephemeralPublicKey, AsymmetricDHPrivateKey ephemeralPrivateKey, AsymmetricDHPublicKey otherPartyEphemeralKey) Constructor for DH DHU parameters which results in an agreement returning the raw value.FipsDH.DHUAgreementParametersBuilder.using
(AsymmetricKeyPair ephemeralKeyPair, AsymmetricDHPublicKey otherPartyEphemeralKey) Constructor for DH DHU parameters from an ephemeral public/private key pair.FipsDH.DHUAgreementParameters.withDigest
(FipsAlgorithm digestAlgorithm) Add a digest algorithm to process the Z value with.FipsDH.DHUAgreementParameters.withKDF
(FipsKDF.AgreementKDFParametersBuilder kdfType, byte[] iv, int outputSize) Add a KDF to process the Z value with.FipsDH.DHUAgreementParameters.withPRF
(FipsKDF.PRF prfAlgorithm, byte[] salt) Add a PRF algorithm and salt to process the Z value with (as in SP 800-56C)Methods in org.bouncycastle.crypto.fips that return types with arguments of type FipsDH.DHUAgreementParametersModifier and TypeMethodDescriptionFipsDH.DHUAgreementFactory.createAgreement
(AsymmetricPrivateKey key, FipsDH.DHUAgreementParameters parameters) Return an Agreement operator based on the regular Diffie-Hellman algorithm.Methods in org.bouncycastle.crypto.fips with parameters of type FipsDH.DHUAgreementParametersModifier and TypeMethodDescriptionFipsDH.DHUAgreementFactory.createAgreement
(AsymmetricPrivateKey key, FipsDH.DHUAgreementParameters parameters) Return an Agreement operator based on the regular Diffie-Hellman algorithm.