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

public abstract Class AsymmetricGOST3410Key<T>

extends Object
implements AsymmetricKey
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.AsymmetricKey, org.bouncycastle.crypto.Key
Known Direct Subclasses
org.bouncycastle.crypto.asymmetric.AsymmetricGOST3410PrivateKey, org.bouncycastle.crypto.asymmetric.AsymmetricGOST3410PublicKey, org.bouncycastle.crypto.asymmetric.AsymmetricECGOST3410PrivateKey, org.bouncycastle.crypto.asymmetric.AsymmetricECGOST3410PublicKey
Type Parameters
<T>
domain parameters for the particular key type.
Imports
org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.crypto.Algorithm, .AsymmetricKey, .CryptoServicesRegistrar, org.bouncycastle.crypto.fips.FipsUnapprovedOperationError

Base class for keys for GOST R 34.10-1994 and GOST R 34.10-2001.

Field Summary

Modifier and TypeField and Description
private Algorithm
protected GOST3410Parameters<T>

Constructor Summary

AccessConstructor and Description
pack-priv
AsymmetricGOST3410Key(Algorithm algorithm, GOST3410Parameters<T> domainParameters)

pack-priv
AsymmetricGOST3410Key(Algorithm algorithm, ASN1ObjectIdentifier acceptable, AlgorithmIdentifier algorithmIdentifier)

Method Summary

Modifier and TypeMethod and Description
protected final void
private static GOST3410Parameters<T>
public Algorithm

Returns:

the key's algorithm.
getAlgorithm
()

Implements org.bouncycastle.crypto.Key.getAlgorithm.

Return the algorithm this GOST R 34.10 key is for.
public GOST3410Parameters<T>

Returns:

the GOST3410 domain parameters.
getParameters
()

Return the domain parameters associated with this key.These will either be for GOST R 34.10-1994 or GOST R 34.10-2001 depending on the key type.

protected void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

algorithmback to summary
private Algorithm algorithm
domainParametersback to summary
protected GOST3410Parameters<T> domainParameters

Constructor Detail

AsymmetricGOST3410Keyback to summary
pack-priv AsymmetricGOST3410Key(Algorithm algorithm, GOST3410Parameters<T> domainParameters)
AsymmetricGOST3410Keyback to summary
pack-priv AsymmetricGOST3410Key(Algorithm algorithm, ASN1ObjectIdentifier acceptable, AlgorithmIdentifier algorithmIdentifier)

Method Detail

checkApprovedOnlyModeStatusback to summary
protected final void checkApprovedOnlyModeStatus()
decodeDomainParametersback to summary
private static GOST3410Parameters<T> decodeDomainParameters(AlgorithmIdentifier algorithmIdentifier)
getAlgorithmback to summary
public Algorithm getAlgorithm()

Implements org.bouncycastle.crypto.Key.getAlgorithm.

Return the algorithm this GOST R 34.10 key is for.

Returns:Algorithm

the key's algorithm.

getParametersback to summary
public GOST3410Parameters<T> getParameters()

Return the domain parameters associated with this key.These will either be for GOST R 34.10-1994 or GOST R 34.10-2001 depending on the key type.

Returns:GOST3410Parameters<T>

the GOST3410 domain parameters.

zeroizeback to summary
protected void zeroize()