public class GammaGOST3410PublicKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
algID |
private int |
bitlen |
private double |
bType |
private double |
bVersion |
private static GammaGOST3410PublicKey |
gammaGOST3410PublicKeyinstance |
(package private) static DERObjectIdentifier |
gostR3410_2001_GammaTech_A |
(package private) static DERObjectIdentifier |
gostR3410_94 |
private byte[] |
keyBlob |
private java.math.BigInteger |
keyBlobBigInt |
private java.lang.String |
keyString |
private java.math.BigInteger |
keyX |
private java.math.BigInteger |
keyY |
private int |
magic |
private int |
magicDH |
private byte[] |
reserved |
Constructor and Description |
---|
GammaGOST3410PublicKey() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkOpenKeyBlob(byte[] blob) |
static byte[] |
convertToGammaPublicKey(byte[] publicKey,
int algID) |
int |
getAlgID() |
byte[] |
getBlobByte(byte[] param1,
byte[] param2) |
static GammaGOST3410PublicKey |
getInstance() |
byte[] |
getKey() |
ASN1EncodableVector |
getKeyASN() |
java.math.BigInteger |
getKeyBlob() |
byte[] |
getKeyBlobByte() |
SubjectPublicKeyInfo |
getKeySubject() |
java.math.BigInteger |
getKeyX() |
byte[] |
getKeyXAsByteArray() |
java.math.BigInteger |
getKeyY() |
byte[] |
getKeyYAsByteArray() |
java.lang.String |
keyToStr() |
void |
setKey(byte[] blob,
int algID) |
void |
setKeyBlob(byte[] blob) |
void |
setKeyBlob(byte[] X,
byte[] Y) |
void |
setKeyBlob(SubjectPublicKeyInfo pInfo) |
void |
setKeyDH(byte[] blob) |
private void |
updateDependencies() |
static final DERObjectIdentifier gostR3410_2001_GammaTech_A
static final DERObjectIdentifier gostR3410_94
private double bType
private double bVersion
private byte[] reserved
private int algID
private int magic
private int magicDH
private int bitlen
private byte[] keyBlob
private java.math.BigInteger keyX
private java.math.BigInteger keyY
private java.math.BigInteger keyBlobBigInt
private java.lang.String keyString
private static GammaGOST3410PublicKey gammaGOST3410PublicKeyinstance
public static GammaGOST3410PublicKey getInstance()
public void setKeyBlob(byte[] blob)
public void setKeyBlob(SubjectPublicKeyInfo pInfo)
public SubjectPublicKeyInfo getKeySubject()
public ASN1EncodableVector getKeyASN()
public void setKey(byte[] blob, int algID)
public void setKeyDH(byte[] blob)
public byte[] getKey()
public int getAlgID()
public java.math.BigInteger getKeyBlob()
public byte[] getKeyBlobByte()
public java.math.BigInteger getKeyX()
public java.math.BigInteger getKeyY()
public java.lang.String keyToStr()
public void setKeyBlob(byte[] X, byte[] Y)
public byte[] getBlobByte(byte[] param1, byte[] param2)
public boolean checkOpenKeyBlob(byte[] blob)
public byte[] getKeyYAsByteArray()
public byte[] getKeyXAsByteArray()
private void updateDependencies()
public static byte[] convertToGammaPublicKey(byte[] publicKey, int algID) throws java.lang.Exception
java.lang.Exception
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.