org.bouncycastle.jce.provider
Class JDKGOST3410PublicKey

java.lang.Object
  extended by org.bouncycastle.jce.provider.JDKGOST3410PublicKey
All Implemented Interfaces:
java.io.Serializable, java.security.Key, java.security.PublicKey, GOST3410Key, GOST3410PublicKey

public class JDKGOST3410PublicKey
extends java.lang.Object
implements GOST3410PublicKey

See Also:
Serialized Form

Field Summary
private  GOST3410Params gost3410Spec
           
private  java.math.BigInteger y
           
 
Fields inherited from interface java.security.PublicKey
serialVersionUID
 
Constructor Summary
JDKGOST3410PublicKey(java.math.BigInteger y, GOST3410ParameterSpec gost3410Spec)
           
JDKGOST3410PublicKey(GOST3410PublicKey key)
           
JDKGOST3410PublicKey(GOST3410PublicKeyParameters params, GOST3410ParameterSpec spec)
           
JDKGOST3410PublicKey(GOST3410PublicKeySpec spec)
           
JDKGOST3410PublicKey(SubjectPublicKeyInfo info)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 GOST3410Params getParameters()
           
 java.math.BigInteger getY()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

y

private java.math.BigInteger y

gost3410Spec

private GOST3410Params gost3410Spec
Constructor Detail

JDKGOST3410PublicKey

JDKGOST3410PublicKey(GOST3410PublicKeySpec spec)

JDKGOST3410PublicKey

JDKGOST3410PublicKey(GOST3410PublicKey key)

JDKGOST3410PublicKey

JDKGOST3410PublicKey(GOST3410PublicKeyParameters params,
                     GOST3410ParameterSpec spec)

JDKGOST3410PublicKey

JDKGOST3410PublicKey(java.math.BigInteger y,
                     GOST3410ParameterSpec gost3410Spec)

JDKGOST3410PublicKey

JDKGOST3410PublicKey(SubjectPublicKeyInfo info)
Method Detail

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface java.security.Key

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface java.security.Key

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface java.security.Key

getParameters

public GOST3410Params getParameters()
Specified by:
getParameters in interface GOST3410Key

getY

public java.math.BigInteger getY()
Specified by:
getY in interface GOST3410PublicKey

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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