Top Fields Constructors Methods
org.bouncycastle.crypto.fips

pack-priv Class EcDHUAgreement<T extends FipsAgreementParameters>

extends FipsAgreement<T extends FipsAgreementParameters>
Class Inheritance
Imports
org.bouncycastle.crypto.AsymmetricPublicKey, org.bouncycastle.crypto.asymmetric.AsymmetricECPublicKey, .ECDomainParameters, .NamedECDomainParameters, org.bouncycastle.crypto.internal.params.EcDhuPublicParameters, .EcDomainParameters, .EcNamedDomainParameters, .EcPublicKeyParameters

Field Summary

Modifier and TypeField and Description
private final EcDhcuBasicAgreement
private final T

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

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

Implements abstract org.bouncycastle.crypto.fips.FipsAgreement.calculate.

Implements org.bouncycastle.crypto.Agreement.calculate.

Calculate the agreement using the passed in public key.
private static EcDomainParameters
public T
getParameters()

Implements abstract org.bouncycastle.crypto.fips.FipsAgreement.getParameters.

Implements org.bouncycastle.crypto.Agreement.getParameters.

Return the parameters being used by this agreement.

Field Detail

dhback to summary
private final EcDhcuBasicAgreement dh
parameterback to summary
private final T parameter

Constructor Detail

EcDHUAgreementback to summary
pack-priv EcDHUAgreement(EcDhcuBasicAgreement dh, T parameter)

Method Detail

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

Implements abstract org.bouncycastle.crypto.fips.FipsAgreement.calculate.

Implements 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.

Annotations
@Override
getDomainParamsback to summary
private static EcDomainParameters getDomainParams(ECDomainParameters curveParams)
getParametersback to summary
public T getParameters()

Implements abstract org.bouncycastle.crypto.fips.FipsAgreement.getParameters.

Implements 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.

Annotations
@Override