public class FalconPrivateKey extends ASN1Object
FALCONPrivateKey ::= SEQUENCE { version INTEGER {v2(1)} -- syntax version 2 (round 3) f OCTET STRING, -- short integer polynomial f g OCTET STRING, -- short integer polynomial g f OCTET STRING, -- short integer polynomial F publicKey [0] IMPLICIT FALCONPublicKey OPTIONAL -- see next section }
Constructor and Description |
---|
FalconPrivateKey(int version,
byte[] f,
byte[] g,
byte[] f1) |
FalconPrivateKey(int version,
byte[] f,
byte[] g,
byte[] f1,
FalconPublicKey publicKey) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getf() |
byte[] |
getF() |
byte[] |
getG() |
static FalconPrivateKey |
getInstance(java.lang.Object o) |
FalconPublicKey |
getPublicKey() |
int |
getVersion() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public FalconPrivateKey(int version, byte[] f, byte[] g, byte[] f1, FalconPublicKey publicKey)
public FalconPrivateKey(int version, byte[] f, byte[] g, byte[] f1)
public int getVersion()
public byte[] getf()
public byte[] getF()
public FalconPublicKey getPublicKey()
public byte[] getG()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
public static FalconPrivateKey getInstance(java.lang.Object o)