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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.