C# Class Goedel.Cryptography.PKIX.RSAPublicKey

RSAPublicKey
Inheritance: Goedel.ASN1.Root
Show file Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Public Properties

Property Type Description
Modulus byte[]
PublicExponent byte[]

Public Methods

Method Description
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.

RSAPublicKey ( RSAParameters RSAParameters ) : System

Create instance from RSAParameters structure.

Method Details

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

RSAPublicKey() public method

Create instance from RSAParameters structure.
public RSAPublicKey ( RSAParameters RSAParameters ) : System
RSAParameters RSAParameters Input parameters.
return System

Property Details

Modulus public property

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

PublicExponent public property

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