Method | Description | |
---|---|---|
Decrypt ( byte data, RSAEncryptionPadding padding ) : byte[] | ||
Encrypt ( byte data, RSAEncryptionPadding padding ) : byte[] | ||
ExportParameters ( bool includePrivateParameters ) : |
||
ImportParameters ( |
||
RSAOpenSsl ( ) : System.Diagnostics | ||
RSAOpenSsl ( int keySize ) : System.Diagnostics | ||
SignHash ( byte hash, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : byte[] | ||
VerifyHash ( byte hash, byte signature, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : bool |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
HashData ( |
||
HashData ( byte data, int offset, int count, Internal.Cryptography.HashAlgorithmName hashAlgorithm ) : byte[] |
Method | Description | |
---|---|---|
CheckBoolReturn ( int returnValue ) : void | ||
CheckInvalidKey ( Microsoft.Win32.SafeHandles.SafeRsaHandle key ) : void | ||
CheckReturn ( int returnValue ) : void | ||
ForceSetKeySize ( int newKeySize ) : void | ||
FreeKey ( ) : void | ||
GenerateKey ( ) : Microsoft.Win32.SafeHandles.SafeRsaHandle | ||
GetAlgorithmNid ( Internal.Cryptography.HashAlgorithmName hashAlgorithmName ) : int | ||
GetInteropPadding ( RSAEncryptionPadding padding ) : Interop.Crypto.RsaPadding | ||
HasConsistentPrivateKey ( |
||
HashAlgorithmNameNullOrEmpty ( ) : Exception | ||
PaddingModeNotSupported ( ) : Exception | ||
SignHash ( byte hash, Internal.Cryptography.HashAlgorithmName hashAlgorithmName ) : byte[] | ||
ValidateParameters ( |
||
VerifyHash ( byte hash, byte signature, Internal.Cryptography.HashAlgorithmName hashAlgorithmName ) : bool |
public Decrypt ( byte data, RSAEncryptionPadding padding ) : byte[] | ||
data | byte | |
padding | RSAEncryptionPadding | |
return | byte[] |
public Encrypt ( byte data, RSAEncryptionPadding padding ) : byte[] | ||
data | byte | |
padding | RSAEncryptionPadding | |
return | byte[] |
public ExportParameters ( bool includePrivateParameters ) : |
||
includePrivateParameters | bool | |
return |
protected HashData ( |
||
data | ||
hashAlgorithm | Internal.Cryptography.HashAlgorithmName | |
return | byte[] |
protected HashData ( byte data, int offset, int count, Internal.Cryptography.HashAlgorithmName hashAlgorithm ) : byte[] | ||
data | byte | |
offset | int | |
count | int | |
hashAlgorithm | Internal.Cryptography.HashAlgorithmName | |
return | byte[] |
public ImportParameters ( |
||
parameters | ||
return | void |
public RSAOpenSsl ( int keySize ) : System.Diagnostics | ||
keySize | int | |
return | System.Diagnostics |
public SignHash ( byte hash, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : byte[] | ||
hash | byte | |
hashAlgorithm | Internal.Cryptography.HashAlgorithmName | |
padding | RSASignaturePadding | |
return | byte[] |
public VerifyHash ( byte hash, byte signature, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : bool | ||
hash | byte | |
signature | byte | |
hashAlgorithm | Internal.Cryptography.HashAlgorithmName | |
padding | RSASignaturePadding | |
return | bool |