Package org.bouncycastle.pqc.asn1
Class FalconPublicKey
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.pqc.asn1.FalconPublicKey
- All Implemented Interfaces:
ASN1Encodable,Encodable
Classic McEliece Public Key Format.
See https://datatracker.ietf.org/doc/draft-uni-qsckeys/ for details.
FALCONPublicKey := SEQUENCE {
h OCTET STRING -- integer polynomial h
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getH()static FalconPublicKeyMethod providing a primitive representation of this object suitable for encoding.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
FalconPublicKey
public FalconPublicKey(byte[] h) -
FalconPublicKey
Deprecated.use getInstance()
-
-
Method Details
-
getH
public byte[] getH() -
toASN1Primitive
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-
getInstance
-