Package org.bouncycastle.jce.spec
Class GOST3410ParameterSpec
- java.lang.Object
-
- org.bouncycastle.jce.spec.GOST3410ParameterSpec
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
,GOST3410Params
public class GOST3410ParameterSpec extends java.lang.Object implements java.security.spec.AlgorithmParameterSpec, GOST3410Params
ParameterSpec for a GOST 3410-94 key.
-
-
Constructor Summary
Constructors Constructor Description GOST3410ParameterSpec(java.lang.String keyParamSetID)
GOST3410ParameterSpec(java.lang.String keyParamSetID, java.lang.String digestParamSetOID)
GOST3410ParameterSpec(java.lang.String keyParamSetID, java.lang.String digestParamSetOID, java.lang.String encryptionParamSetOID)
GOST3410ParameterSpec(GOST3410PublicKeyParameterSetSpec spec)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static GOST3410ParameterSpec
fromPublicKeyAlg(GOST3410PublicKeyAlgParameters params)
java.lang.String
getDigestParamSetOID()
java.lang.String
getEncryptionParamSetOID()
GOST3410PublicKeyParameterSetSpec
getPublicKeyParameters()
java.lang.String
getPublicKeyParamSetOID()
int
hashCode()
-
-
-
Constructor Detail
-
GOST3410ParameterSpec
public GOST3410ParameterSpec(java.lang.String keyParamSetID, java.lang.String digestParamSetOID, java.lang.String encryptionParamSetOID)
-
GOST3410ParameterSpec
public GOST3410ParameterSpec(java.lang.String keyParamSetID, java.lang.String digestParamSetOID)
-
GOST3410ParameterSpec
public GOST3410ParameterSpec(java.lang.String keyParamSetID)
-
GOST3410ParameterSpec
public GOST3410ParameterSpec(GOST3410PublicKeyParameterSetSpec spec)
-
-
Method Detail
-
getPublicKeyParamSetOID
public java.lang.String getPublicKeyParamSetOID()
- Specified by:
getPublicKeyParamSetOID
in interfaceGOST3410Params
-
getPublicKeyParameters
public GOST3410PublicKeyParameterSetSpec getPublicKeyParameters()
- Specified by:
getPublicKeyParameters
in interfaceGOST3410Params
-
getDigestParamSetOID
public java.lang.String getDigestParamSetOID()
- Specified by:
getDigestParamSetOID
in interfaceGOST3410Params
-
getEncryptionParamSetOID
public java.lang.String getEncryptionParamSetOID()
- Specified by:
getEncryptionParamSetOID
in interfaceGOST3410Params
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
fromPublicKeyAlg
public static GOST3410ParameterSpec fromPublicKeyAlg(GOST3410PublicKeyAlgParameters params)
-
-