C# Class Goedel.Cryptography.RSAKeyPair

Afficher le fichier Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Méthodes publiques

Méthode Description
FindLocal ( string UDF ) : RSAKeyPair

Find a KeyPair with the specified container fingerprint in the local key store.

GetPrivate ( ) : void

Retrieve the private key from local storage.

Persist ( KeySecurity KeySecurity ) : void

Makes a key persistent on the local machine with the specified level of protection.

RSAKeyPair ( RSACryptoServiceProvider RSACryptoServiceProvider ) : System

Generate a KeyPair from a .NET Provider.

RSAKeyPair ( RSAParameters RSAParameters ) : System

Generate a KeyPair from a .NET set of parameters.

RSAKeyPair ( int KeySize ) : System

Generate an ephemeral RSA key with the specified key size.

RSAKeyPair ( int KeySize, bool Exportable ) : System

Generate an ephemeral RSA key with the specified key size.

RSAKeyPair ( string UDF ) : System

Create a new KeyPair with the specified container fingerprint.

Private Methods

Méthode Description
GetKeyInfo ( ) : SubjectPublicKeyInfo
GetProvider ( ) : void
PlatformLocateRSAProvider ( string UDF ) : RSACryptoServiceProvider

Locate a key stored in the platform cryptographic key store.

Method Details

FindLocal() public static méthode

Find a KeyPair with the specified container fingerprint in the local key store.
public static FindLocal ( string UDF ) : RSAKeyPair
UDF string Fingerprint of key.
Résultat RSAKeyPair

GetPrivate() public méthode

Retrieve the private key from local storage.
public GetPrivate ( ) : void
Résultat void

Persist() public méthode

Makes a key persistent on the local machine with the specified level of protection.
public Persist ( KeySecurity KeySecurity ) : void
KeySecurity KeySecurity Key protection level to be applied.
Résultat void

RSAKeyPair() public méthode

Generate a KeyPair from a .NET Provider.
public RSAKeyPair ( RSACryptoServiceProvider RSACryptoServiceProvider ) : System
RSACryptoServiceProvider System.Security.Cryptography.RSACryptoServiceProvider
Résultat System

RSAKeyPair() public méthode

Generate a KeyPair from a .NET set of parameters.
public RSAKeyPair ( RSAParameters RSAParameters ) : System
RSAParameters System.Security.Cryptography.RSAParameters The RSA parameters.
Résultat System

RSAKeyPair() public méthode

Generate an ephemeral RSA key with the specified key size.
public RSAKeyPair ( int KeySize ) : System
KeySize int Size of key in multiples of 64 bits.
Résultat System

RSAKeyPair() public méthode

Generate an ephemeral RSA key with the specified key size.
public RSAKeyPair ( int KeySize, bool Exportable ) : System
KeySize int Size of key in multiples of 64 bits.
Exportable bool If true, key may be exported, otherwise machine bound.
Résultat System

RSAKeyPair() public méthode

Create a new KeyPair with the specified container fingerprint.
public RSAKeyPair ( string UDF ) : System
UDF string Fingerprint of key.
Résultat System