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.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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)
getPublicKeyParamSetOID
public java.lang.String getPublicKeyParamSetOID()
- Specified by:
getPublicKeyParamSetOID
in interface GOST3410Params
getPublicKeyParameters
public GOST3410PublicKeyParameterSetSpec getPublicKeyParameters()
- Specified by:
getPublicKeyParameters
in interface GOST3410Params
getDigestParamSetOID
public java.lang.String getDigestParamSetOID()
- Specified by:
getDigestParamSetOID
in interface GOST3410Params
getEncryptionParamSetOID
public java.lang.String getEncryptionParamSetOID()
- Specified by:
getEncryptionParamSetOID
in interface GOST3410Params
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
fromPublicKeyAlg
public static GOST3410ParameterSpec fromPublicKeyAlg(GOST3410PublicKeyAlgParameters params)