Class SABERPrivateKey

  • All Implemented Interfaces:
    ASN1Encodable, Encodable

    public class SABERPrivateKey
    extends ASN1Object
    Expires 13 May 2022 SABERPrivateKey ::= SEQUENCE { version INTEGER {v0(0)} -- version (round 3) z OCTET STRING, -- 32-byte random value z s OCTET STRING, -- short integer polynomial s PublicKey [0] IMPLICIT SABERPublicKey OPTIONAL, -- see next section hpk OCTET STRING -- H(pk) }
    • Constructor Detail

      • SABERPrivateKey

        public SABERPrivateKey​(int version,
                               byte[] z,
                               byte[] s,
                               byte[] hpk)
      • SABERPrivateKey

        public SABERPrivateKey​(int version,
                               byte[] z,
                               byte[] s,
                               byte[] hpk,
                               SABERPublicKey publicKey)
    • Method Detail

      • getVersion

        public int getVersion()
      • getZ

        public byte[] getZ()
      • getS

        public byte[] getS()
      • getHpk

        public byte[] getHpk()
      • getInstance

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