Table of Contents

Class CmcePrivateKey

Namespace
Org.BouncyCastle.Pqc.Asn1
Assembly
BouncyCastle.Cryptography.dll
public class CmcePrivateKey : Asn1Object, IAsn1Convertible
Inheritance
CmcePrivateKey
Implements
Inherited Members

Constructors

CmcePrivateKey(int, byte[], byte[], byte[], byte[], byte[], CmcePublicKey)

public CmcePrivateKey(int version, byte[] delta, byte[] c, byte[] g, byte[] alpha, byte[] s, CmcePublicKey pubKey = null)

Parameters

version int
delta byte[]
c byte[]
g byte[]
alpha byte[]
s byte[]
pubKey CmcePublicKey

Properties

Alpha

public byte[] Alpha { get; }

Property Value

byte[]

C

public byte[] C { get; }

Property Value

byte[]

Delta

public byte[] Delta { get; }

Property Value

byte[]

G

public byte[] G { get; }

Property Value

byte[]

PublicKey

public CmcePublicKey PublicKey { get; }

Property Value

CmcePublicKey

S

public byte[] S { get; }

Property Value

byte[]

Version

public int Version { get; }

Property Value

int

Methods

Asn1Equals(Asn1Object)

protected override bool Asn1Equals(Asn1Object asn1Object)

Parameters

asn1Object Asn1Object

Returns

bool

Asn1GetHashCode()

protected override int Asn1GetHashCode()

Returns

int

GetInstance(Asn1TaggedObject, bool)

public static CmcePrivateKey GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

CmcePrivateKey

GetInstance(object)

public static CmcePrivateKey GetInstance(object o)

Parameters

o object

Returns

CmcePrivateKey

GetTagged(Asn1TaggedObject, bool)

public static CmcePrivateKey GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

CmcePrivateKey

ToAsn1Primitive()

public Asn1Object ToAsn1Primitive()

Returns

Asn1Object