Package org.bouncycastle.jcajce.spec
Class GOST3410ParameterSpec
java.lang.Object
org.bouncycastle.jcajce.spec.GOST3410ParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
ParameterSpec for a GOST 3410-1994/2001/2012 algorithm parameters.
-
Constructor Summary
ConstructorDescriptionGOST3410ParameterSpec
(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
Modifier and TypeMethodDescriptionReturn the object identifier for the digest parameter set.Return the object identifier for the encryption parameter set.Return the object identifier for the public key parameter set.
-
Constructor Details
-
GOST3410ParameterSpec
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 Details
-
getPublicKeyParamSetName
-
getPublicKeyParamSet
Return the object identifier for the public key parameter set.- Returns:
- the OID for the public key parameter set.
-
getDigestParamSet
Return the object identifier for the digest parameter set.- Returns:
- the OID for the digest parameter set.
-
getEncryptionParamSet
Return the object identifier for the encryption parameter set.- Returns:
- the OID for the encryption parameter set.
-