Top Description Fields Constructors Methods
org.bouncycastle.jcajce.spec

public Class GOST3410ParameterSpec

extends Object
implements AlgorithmParameterSpec
Class Inheritance
All Implemented Interfaces
java.security.spec.AlgorithmParameterSpec
Imports
java.security.spec.AlgorithmParameterSpec, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers, .ECGOST3410NamedCurves, org.bouncycastle.asn1.rosstandart.RosstandartObjectIdentifiers

ParameterSpec for a GOST 3410-1994/2001/2012 algorithm parameters.

Field Summary

Modifier and TypeField and Description
private final ASN1ObjectIdentifier
private final ASN1ObjectIdentifier
private final ASN1ObjectIdentifier

Constructor Summary

AccessConstructor and Description
public
GOST3410ParameterSpec(String
the curve parameter set name.
publicKeyParamSet
)

Constructor for signing parameters.

public
GOST3410ParameterSpec(ASN1ObjectIdentifier
the public key parameter set object identifier.
publicKeyParamSet
,
ASN1ObjectIdentifier
the object identifier for the digest algorithm to be associated with parameters.
digestParamSet
)

Constructor for signing parameters.

public
GOST3410ParameterSpec(ASN1ObjectIdentifier
the public key parameter set object identifier.
publicKeyParamSet
,
ASN1ObjectIdentifier
the object identifier for the digest algorithm to be associated with parameters.
digestParamSet
,
ASN1ObjectIdentifier
the object identifier associated with encryption algorithm to use.
encryptionParamSet
)

Constructor for signing/encryption parameters.

Method Summary

Modifier and TypeMethod and Description
private static ASN1ObjectIdentifier
getDigestOid(String paramName)

public ASN1ObjectIdentifier

Returns:

the OID for the digest parameter set.
getDigestParamSet
()

Return the object identifier for the digest parameter set.

public ASN1ObjectIdentifier

Returns:

the OID for the encryption parameter set.
getEncryptionParamSet
()

Return the object identifier for the encryption parameter set.

private static ASN1ObjectIdentifier
getOid(String paramName)

public ASN1ObjectIdentifier

Returns:

the OID for the public key parameter set.
getPublicKeyParamSet
()

Return the object identifier for the public key parameter set.

public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

digestParamSetback to summary
private final ASN1ObjectIdentifier digestParamSet
encryptionParamSetback to summary
private final ASN1ObjectIdentifier encryptionParamSet
publicKeyParamSetback to summary
private final ASN1ObjectIdentifier publicKeyParamSet

Constructor Detail

GOST3410ParameterSpecback to summary
public GOST3410ParameterSpec(String publicKeyParamSet)

Constructor for signing parameters.

Parameters
publicKeyParamSet:String

the curve parameter set name.

GOST3410ParameterSpecback to summary
public GOST3410ParameterSpec(ASN1ObjectIdentifier publicKeyParamSet, ASN1ObjectIdentifier digestParamSet)

Constructor for signing parameters.

Parameters
publicKeyParamSet:ASN1ObjectIdentifier

the public key parameter set object identifier.

digestParamSet:ASN1ObjectIdentifier

the object identifier for the digest algorithm to be associated with parameters.

GOST3410ParameterSpecback to summary
public GOST3410ParameterSpec(ASN1ObjectIdentifier publicKeyParamSet, ASN1ObjectIdentifier digestParamSet, ASN1ObjectIdentifier encryptionParamSet)

Constructor for signing/encryption parameters.

Parameters
publicKeyParamSet:ASN1ObjectIdentifier

the public key parameter set object identifier.

digestParamSet:ASN1ObjectIdentifier

the object identifier for the digest algorithm to be associated with parameters.

encryptionParamSet:ASN1ObjectIdentifier

the object identifier associated with encryption algorithm to use.

Method Detail

getDigestOidback to summary
private static ASN1ObjectIdentifier getDigestOid(String paramName)
getDigestParamSetback to summary
public ASN1ObjectIdentifier getDigestParamSet()

Return the object identifier for the digest parameter set.

Returns:ASN1ObjectIdentifier

the OID for the digest parameter set.

getEncryptionParamSetback to summary
public ASN1ObjectIdentifier getEncryptionParamSet()

Return the object identifier for the encryption parameter set.

Returns:ASN1ObjectIdentifier

the OID for the encryption parameter set.

getOidback to summary
private static ASN1ObjectIdentifier getOid(String paramName)
getPublicKeyParamSetback to summary
public ASN1ObjectIdentifier getPublicKeyParamSet()

Return the object identifier for the public key parameter set.

Returns:ASN1ObjectIdentifier

the OID for the public key parameter set.

getPublicKeyParamSetNameback to summary
public String getPublicKeyParamSetName()