C# Class Goedel.Cryptography.PKIX.RSAPrivateKey

RSAPrivateKey
Inheritance: Goedel.ASN1.Root
ファイルを表示 Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Public Properties

Property Type Description
Coefficient byte[]
Exponent1 byte[]
Exponent2 byte[]
Modulus byte[]
Prime1 byte[]
Prime2 byte[]
PrivateExponent byte[]
PublicExponent byte[]
Version int

Public Methods

Method Description
Decode ( global Buffer ) : void

Decode buffer to populate class members This is done in the forward direction

Dump ( ) : void

Encode ( Goedel Buffer ) : void

Encode ASN.1 class members to specified buffer. NB Assinine ASN.1 DER encoding rules requires members be added in reverse order.

RSAPrivateKey ( RSAParameters RSAParameters ) : System

Create structure from RSAParameters structure.

RSAPrivateKey ( byte Data ) : System

Create structure from ASN1 data

Method Details

Decode() public method

Decode buffer to populate class members This is done in the forward direction
public Decode ( global Buffer ) : void
Buffer global
return void

Dump() public method

public Dump ( ) : void
return void

Encode() public method

Encode ASN.1 class members to specified buffer. NB Assinine ASN.1 DER encoding rules requires members be added in reverse order.
public Encode ( Goedel Buffer ) : void
Buffer Goedel Output buffer
return void

RSAPrivateKey() public method

Create structure from RSAParameters structure.
public RSAPrivateKey ( RSAParameters RSAParameters ) : System
RSAParameters RSAParameters The RSA Parameters in .NET format.
return System

RSAPrivateKey() public method

Create structure from ASN1 data
public RSAPrivateKey ( byte Data ) : System
Data byte
return System

Property Details

Coefficient public_oe property

ASN.1 member Coefficient
public byte[] Coefficient
return byte[]

Exponent1 public_oe property

ASN.1 member Exponent1
public byte[] Exponent1
return byte[]

Exponent2 public_oe property

ASN.1 member Exponent2
public byte[] Exponent2
return byte[]

Modulus public_oe property

ASN.1 member Modulus
public byte[] Modulus
return byte[]

Prime1 public_oe property

ASN.1 member Prime1
public byte[] Prime1
return byte[]

Prime2 public_oe property

ASN.1 member Prime2
public byte[] Prime2
return byte[]

PrivateExponent public_oe property

ASN.1 member PrivateExponent
public byte[] PrivateExponent
return byte[]

PublicExponent public_oe property

ASN.1 member PublicExponent
public byte[] PublicExponent
return byte[]

Version public_oe property

ASN.1 member Version
public int Version
return int