Top Description Constructors Methods
org.bouncycastle.crypto.fips

public abstract Class FipsAgreement<T extends Parameters>

extends Object
implements Agreement<T extends Parameters>
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.Agreement
Known Direct Subclasses
org.bouncycastle.crypto.fips.EcDHAgreement, org.bouncycastle.crypto.fips.EcDHUAgreement
Type Parameters
<T>
the parameters type associated with the final implementation of this key agreement.
Imports
org.bouncycastle.crypto.Agreement, .AsymmetricPublicKey, .Parameters

Base class for the FIPS approved mode Agreement implementations.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public abstract byte[]
calculate(AsymmetricPublicKey
the public key of the other party.
key
)

Redeclares org.bouncycastle.crypto.Agreement.calculate.

Calculate the agreement using the passed in public key.
public abstract T
getParameters()

Redeclares org.bouncycastle.crypto.Agreement.getParameters.

Return the parameters being used by this agreement.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FipsAgreementback to summary
pack-priv FipsAgreement()

Method Detail

calculateback to summary
public abstract byte[] calculate(AsymmetricPublicKey key)

Redeclares org.bouncycastle.crypto.Agreement.calculate.

Doc from org.bouncycastle.crypto.Agreement.calculate.

Calculate the agreement using the passed in public key.

Parameters
key:AsymmetricPublicKey

the public key of the other party.

Returns:byte[]

the agreement value.

getParametersback to summary
public abstract T getParameters()

Redeclares org.bouncycastle.crypto.Agreement.getParameters.

Doc from org.bouncycastle.crypto.Agreement.getParameters.

Return the parameters being used by this agreement.

Returns:T

the key agreement parameters.