C# Class Goedel.Cryptography.PKIX.RSAPrivateKey

RSAPrivateKey
Inheritance: Goedel.ASN1.Root
Afficher le fichier Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Méthodes publiques

Свойство Type Description
Coefficient byte[]
Exponent1 byte[]
Exponent2 byte[]
Modulus byte[]
Prime1 byte[]
Prime2 byte[]
PrivateExponent byte[]
PublicExponent byte[]
Version int

Méthodes publiques

Méthode 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 méthode

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

Dump() public méthode

public Dump ( ) : void
Résultat void

Encode() public méthode

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
Résultat void

RSAPrivateKey() public méthode

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

RSAPrivateKey() public méthode

Create structure from ASN1 data
public RSAPrivateKey ( byte Data ) : System
Data byte
Résultat System

Property Details

Coefficient public_oe property

ASN.1 member Coefficient
public byte[] Coefficient
Résultat byte[]

Exponent1 public_oe property

ASN.1 member Exponent1
public byte[] Exponent1
Résultat byte[]

Exponent2 public_oe property

ASN.1 member Exponent2
public byte[] Exponent2
Résultat byte[]

Modulus public_oe property

ASN.1 member Modulus
public byte[] Modulus
Résultat byte[]

Prime1 public_oe property

ASN.1 member Prime1
public byte[] Prime1
Résultat byte[]

Prime2 public_oe property

ASN.1 member Prime2
public byte[] Prime2
Résultat byte[]

PrivateExponent public_oe property

ASN.1 member PrivateExponent
public byte[] PrivateExponent
Résultat byte[]

PublicExponent public_oe property

ASN.1 member PublicExponent
public byte[] PublicExponent
Résultat byte[]

Version public_oe property

ASN.1 member Version
public int Version
Résultat int