Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.pqc.asn1
Class SABERPrivateKey

    java.lang.Object
      org.bouncycastle.asn1.ASN1Object
          org.bouncycastle.pqc.asn1.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 Summary
`SABERPrivateKey(int version, byte[] z, byte[] s, byte[] hpk)`
`SABERPrivateKey(int version, byte[] z, byte[] s, byte[] hpk, SABERPublicKey publicKey)`

Method Summary
`byte[]` | `getHpk()`
`static SABERPrivateKey` | `getInstance(java.lang.Object o)`
`SABERPublicKey` | `getPublicKey()`
`byte[]` | `getS()`
`int` | `getVersion()`
`byte[]` | `getZ()`
`ASN1Primitive` | `toASN1Primitive()` Method 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`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

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()

### getPublicKey

    public SABERPublicKey getPublicKey()

### toASN1Primitive

    public ASN1Primitive toASN1Primitive()

  Description copied from class: `ASN1Object`
  Method providing a primitive representation of this object suitable for encoding.

  Specified by:
    `toASN1Primitive` in interface `ASN1Encodable`
  Specified by:
    `toASN1Primitive` in class `ASN1Object`
  Returns:
    a primitive representation of this object.

### getInstance

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

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD