Method | Description | |
---|---|---|
Create ( ) : |
||
Create ( String algName ) : |
||
Decrypt ( byte data, RSAEncryptionPadding padding ) : byte[] | ||
DecryptValue ( byte rgb ) : byte[] | ||
Encrypt ( byte data, RSAEncryptionPadding padding ) : byte[] | ||
EncryptValue ( byte rgb ) : byte[] | ||
ExportParameters ( bool includePrivateParameters ) : |
||
FromXmlString ( string xmlString ) : void | ||
ImportParameters ( |
||
SignData ( |
||
SignData ( byte data, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : byte[] | ||
SignData ( byte data, int offset, int count, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : byte[] | ||
SignHash ( byte hash, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : byte[] | ||
ToXmlString ( bool includePrivateParameters ) : string | ||
VerifyData ( |
||
VerifyData ( byte data, byte signature, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : bool | ||
VerifyData ( byte data, int offset, int count, byte signature, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : bool | ||
VerifyHash ( byte hash, byte signature, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : bool |
Method | Description | |
---|---|---|
HashData ( |
||
HashData ( byte data, int offset, int count, Internal.Cryptography.HashAlgorithmName hashAlgorithm ) : byte[] |
Method | Description | |
---|---|---|
DerivedClassMustOverride ( ) : Exception | ||
HashAlgorithmNameNullOrEmpty ( ) : Exception |
public static Create ( String algName ) : |
||
algName | String | |
return |
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 abstract ExportParameters ( bool includePrivateParameters ) : |
||
includePrivateParameters | bool | |
return |
public FromXmlString ( string xmlString ) : void | ||
xmlString | string | |
return | void |
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 abstract ImportParameters ( |
||
parameters | ||
return | void |
public SignData ( |
||
data | ||
hashAlgorithm | Internal.Cryptography.HashAlgorithmName | |
padding | RSASignaturePadding | |
return | byte[] |
public SignData ( byte data, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : byte[] | ||
data | byte | |
hashAlgorithm | Internal.Cryptography.HashAlgorithmName | |
padding | RSASignaturePadding | |
return | byte[] |
public SignData ( byte data, int offset, int count, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : byte[] | ||
data | byte | |
offset | int | |
count | int | |
hashAlgorithm | Internal.Cryptography.HashAlgorithmName | |
padding | RSASignaturePadding | |
return | byte[] |
public SignHash ( byte hash, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : byte[] | ||
hash | byte | |
hashAlgorithm | Internal.Cryptography.HashAlgorithmName | |
padding | RSASignaturePadding | |
return | byte[] |
public ToXmlString ( bool includePrivateParameters ) : string | ||
includePrivateParameters | bool | |
return | string |
public VerifyData ( |
||
data | ||
signature | byte | |
hashAlgorithm | Internal.Cryptography.HashAlgorithmName | |
padding | RSASignaturePadding | |
return | bool |
public VerifyData ( byte data, byte signature, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : bool | ||
data | byte | |
signature | byte | |
hashAlgorithm | Internal.Cryptography.HashAlgorithmName | |
padding | RSASignaturePadding | |
return | bool |
public VerifyData ( byte data, int offset, int count, byte signature, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : bool | ||
data | byte | |
offset | int | |
count | int | |
signature | byte | |
hashAlgorithm | Internal.Cryptography.HashAlgorithmName | |
padding | RSASignaturePadding | |
return | bool |
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 |