Package org.bouncycastle.jcajce.spec
Class GOST3410ParameterSpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.GOST3410ParameterSpec
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
public class GOST3410ParameterSpec extends java.lang.Object implements java.security.spec.AlgorithmParameterSpec
ParameterSpec for a GOST 3410-1994/2001/2012 algorithm parameters.
-
-
Constructor Summary
Constructors Constructor Description GOST3410ParameterSpec(java.lang.String publicKeyParamSet)
Constructor for signing parameters.GOST3410ParameterSpec(ASN1ObjectIdentifier publicKeyParamSet, ASN1ObjectIdentifier digestParamSet)
Constructor for signing parameters.GOST3410ParameterSpec(ASN1ObjectIdentifier publicKeyParamSet, ASN1ObjectIdentifier digestParamSet, ASN1ObjectIdentifier encryptionParamSet)
Constructor for signing/encryption parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1ObjectIdentifier
getDigestParamSet()
Return the object identifier for the digest parameter set.ASN1ObjectIdentifier
getEncryptionParamSet()
Return the object identifier for the encryption parameter set.ASN1ObjectIdentifier
getPublicKeyParamSet()
Return the object identifier for the public key parameter set.java.lang.String
getPublicKeyParamSetName()
-
-
-
Constructor Detail
-
GOST3410ParameterSpec
public GOST3410ParameterSpec(java.lang.String publicKeyParamSet)
Constructor for signing parameters.- Parameters:
publicKeyParamSet
- the curve parameter set name.
-
GOST3410ParameterSpec
public GOST3410ParameterSpec(ASN1ObjectIdentifier publicKeyParamSet, ASN1ObjectIdentifier digestParamSet)
Constructor for signing parameters.- Parameters:
publicKeyParamSet
- the public key parameter set object identifier.digestParamSet
- the object identifier for the digest algorithm to be associated with parameters.
-
GOST3410ParameterSpec
public GOST3410ParameterSpec(ASN1ObjectIdentifier publicKeyParamSet, ASN1ObjectIdentifier digestParamSet, ASN1ObjectIdentifier encryptionParamSet)
Constructor for signing/encryption parameters.- Parameters:
publicKeyParamSet
- the public key parameter set object identifier.digestParamSet
- the object identifier for the digest algorithm to be associated with parameters.encryptionParamSet
- the object identifier associated with encryption algorithm to use.
-
-
Method Detail
-
getPublicKeyParamSetName
public java.lang.String getPublicKeyParamSetName()
-
getPublicKeyParamSet
public ASN1ObjectIdentifier getPublicKeyParamSet()
Return the object identifier for the public key parameter set.- Returns:
- the OID for the public key parameter set.
-
getDigestParamSet
public ASN1ObjectIdentifier getDigestParamSet()
Return the object identifier for the digest parameter set.- Returns:
- the OID for the digest parameter set.
-
getEncryptionParamSet
public ASN1ObjectIdentifier getEncryptionParamSet()
Return the object identifier for the encryption parameter set.- Returns:
- the OID for the encryption parameter set.
-
-