Method | Description | |
---|---|---|
LoadPrivateKeyDer ( this provider, byte derData ) : void |
Extension method which initializes an RSACryptoServiceProvider from a DER private key blob.
|
|
LoadPrivateKeyPem ( this provider, string sPem ) : void |
Extension method which initializes an RSACryptoServiceProvider from a PEM private key string.
|
|
LoadPublicKeyDer ( this provider, byte derData ) : void |
Extension method which initializes an RSACryptoServiceProvider from a DER public key blob.
|
|
LoadPublicKeyPem ( this provider, string sPem ) : void |
Extension method which initializes an RSACryptoServiceProvider from a PEM public key string.
|
Method | Description | |
---|---|---|
CryptAcquireContext ( |
||
CryptDecodeObject ( CRYPT_ENCODING_FLAGS dwCertEncodingType, |
||
CryptDecodeObjectEx ( CRYPT_ENCODING_FLAGS dwCertEncodingType, |
||
CryptDestroyKey ( |
||
CryptImportKey ( |
||
CryptReleaseContext ( |
||
CryptStringToBinary ( string sPem, |
||
GetDerFromPem ( string sPEM ) : byte[] |
Extracts the binary data from a PEM file.
|
|
GetPrivateKeyDer ( byte derData ) : byte[] |
Converts DER binary format to a CAPI CRYPT_PRIVATE_KEY_INFO structure.
|
|
GetPublicKeyBlobFromRsa ( byte rsaData ) : byte[] |
Returns a public key blob from an RSA public key.
|
|
GetRsaFromDer ( byte derData ) : byte[] |
Converts DER binary format to a CAPI CERT_PUBLIC_KEY_INFO structure containing an RSA key.
|
public static LoadPrivateKeyDer ( this provider, byte derData ) : void | ||
provider | this | |
derData | byte | |
return | void |
public static LoadPrivateKeyPem ( this provider, string sPem ) : void | ||
provider | this | |
sPem | string | |
return | void |
public static LoadPublicKeyDer ( this provider, byte derData ) : void | ||
provider | this | |
derData | byte | |
return | void |
public static LoadPublicKeyPem ( this provider, string sPem ) : void | ||
provider | this | |
sPem | string | |
return | void |