C# 클래스 Goedel.Cryptography.RSAKeyPair

파일 보기 프로젝트 열기: hallambaker/Mathematical-Mesh 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
GetKeyInfo ( ) : SubjectPublicKeyInfo
GetProvider ( ) : void
PlatformLocateRSAProvider ( string UDF ) : RSACryptoServiceProvider

Locate a key stored in the platform cryptographic key store.

메소드 상세

FindLocal() 공개 정적인 메소드

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

GetPrivate() 공개 메소드

Retrieve the private key from local storage.
public GetPrivate ( ) : void
리턴 void

Persist() 공개 메소드

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.
리턴 void

RSAKeyPair() 공개 메소드

Generate a KeyPair from a .NET Provider.
public RSAKeyPair ( RSACryptoServiceProvider RSACryptoServiceProvider ) : System
RSACryptoServiceProvider System.Security.Cryptography.RSACryptoServiceProvider
리턴 System

RSAKeyPair() 공개 메소드

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

RSAKeyPair() 공개 메소드

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.
리턴 System

RSAKeyPair() 공개 메소드

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.
리턴 System

RSAKeyPair() 공개 메소드

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