C# Class Mono.Security.Cryptography.PKCS8.PrivateKeyInfo

Afficher le fichier Open project: runefs/Marvin Class Usage Examples

Méthodes publiques

Méthode Description
DecodeDSA ( byte privateKey, DSAParameters dsaParameters ) : DSA
DecodeRSA ( byte keypair ) : RSA
Encode ( AsymmetricAlgorithm aa ) : byte[]
Encode ( DSA dsa ) : byte[]
Encode ( RSA rsa ) : byte[]
GetBytes ( ) : byte[]
PrivateKeyInfo ( ) : System
PrivateKeyInfo ( byte data ) : System

Private Methods

Méthode Description
Decode ( byte data ) : void
Normalize ( byte bigInt, int length ) : byte[]
RemoveLeadingZero ( byte bigInt ) : byte[]

Method Details

DecodeDSA() static public méthode

static public DecodeDSA ( byte privateKey, DSAParameters dsaParameters ) : DSA
privateKey byte
dsaParameters System.Security.Cryptography.DSAParameters
Résultat System.Security.Cryptography.DSA

DecodeRSA() static public méthode

static public DecodeRSA ( byte keypair ) : RSA
keypair byte
Résultat System.Security.Cryptography.RSA

Encode() static public méthode

static public Encode ( AsymmetricAlgorithm aa ) : byte[]
aa System.Security.Cryptography.AsymmetricAlgorithm
Résultat byte[]

Encode() static public méthode

static public Encode ( DSA dsa ) : byte[]
dsa System.Security.Cryptography.DSA
Résultat byte[]

Encode() static public méthode

static public Encode ( RSA rsa ) : byte[]
rsa System.Security.Cryptography.RSA
Résultat byte[]

GetBytes() public méthode

public GetBytes ( ) : byte[]
Résultat byte[]

PrivateKeyInfo() public méthode

public PrivateKeyInfo ( ) : System
Résultat System

PrivateKeyInfo() public méthode

public PrivateKeyInfo ( byte data ) : System
data byte
Résultat System