Class SPHINCSPLUSPrivateKey

  • All Implemented Interfaces:
    ASN1Encodable, Encodable

    public class SPHINCSPLUSPrivateKey
    extends ASN1Object
    See https://datatracker.ietf.org/doc/draft-uni-qsckeys-sphincsplus/00/ for details ASN.1 Encoding for a SphincsPlus private key for fully populated: SPHINCSPLUSPrivateKey ::= SEQUENCE { version INTEGER {v2(1)} --syntax version 2 (round 3) skseed OCTET STRING, --n-byte private key seed skprf OCTET STRING, --n-byte private key seed PublicKey SPHINCSPLUSPublicKey --public key }
    • Constructor Detail

      • SPHINCSPLUSPrivateKey

        public SPHINCSPLUSPrivateKey​(int version,
                                     byte[] skseed,
                                     byte[] skprf)
      • SPHINCSPLUSPrivateKey

        public SPHINCSPLUSPrivateKey​(int version,
                                     byte[] skseed,
                                     byte[] skprf,
                                     SPHINCSPLUSPublicKey publicKey)
      • SPHINCSPLUSPrivateKey

        public SPHINCSPLUSPrivateKey​(ASN1Sequence seq)
        Deprecated.
        use getInstance()