Top Description Fields Constructors Methods
org.bouncycastle.crypto.agreement

public Class ECVKOAgreement

extends Object
Class Inheritance
Imports
java.math.BigInteger, org.bouncycastle.crypto.CipherParameters, .CryptoServicesRegistrar, .Digest, org.bouncycastle.crypto.params.ECDomainParameters, .ECPrivateKeyParameters, .ECPublicKeyParameters, .ParametersWithUKM, org.bouncycastle.math.ec.ECAlgorithms, .ECPoint, org.bouncycastle.util.Arrays

GOST VKO key agreement class - RFC 7836 Section 4.3

Field Summary

Modifier and TypeField and Description
private final Digest
private ECPrivateKeyParameters
private BigInteger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte[]
public int
public int
getFieldSize()
Deprecated Will be removed

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

digestback to summary
private final Digest digest
keyback to summary
private ECPrivateKeyParameters key
ukmback to summary
private BigInteger ukm

Constructor Detail

ECVKOAgreementback to summary
public ECVKOAgreement(Digest digest)

Method Detail

calculateAgreementback to summary
public byte[] calculateAgreement(CipherParameters pubKey)
getAgreementSizeback to summary
public int getAgreementSize()
getFieldSizeback to summary
public int getFieldSize()

Deprecated

Will be removed

initback to summary
public void init(CipherParameters key)