Class FalconPrivateKey

  • All Implemented Interfaces:
    ASN1Encodable, Encodable

    public class FalconPrivateKey
    extends ASN1Object
    ASN.1 Encoding for a FALCON private key for fully populated:
     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 Detail

      • FalconPrivateKey

        public FalconPrivateKey​(int version,
                                byte[] f,
                                byte[] g,
                                byte[] f1,
                                FalconPublicKey publicKey)
      • FalconPrivateKey

        public FalconPrivateKey​(int version,
                                byte[] f,
                                byte[] g,
                                byte[] f1)
    • Method Detail

      • getVersion

        public int getVersion()
      • getf

        public byte[] getf()
      • getF

        public byte[] getF()
      • getG

        public byte[] getG()
      • getInstance

        public static FalconPrivateKey getInstance​(java.lang.Object o)