Method | Description | |
---|---|---|
CreateSignature ( byte rgbHash ) : byte[] | ||
DSACng ( ) : Internal.Cryptography |
Create a DSACng algorithm with a random 2048 bit key pair.
|
|
DSACng ( int keySize ) : Internal.Cryptography |
Creates a new DSACng object that will use a randomly generated key of the specified size. Valid key sizes range from 512 to 3072 bits, in increments of 64. It's suggested that a minimum size of 2048 bits be used for all keys.
|
|
VerifySignature ( byte rgbHash, byte rgbSignature ) : bool |
Method | Description | |
---|---|---|
HashData ( Stream data, Internal.Cryptography.HashAlgorithmName hashAlgorithm ) : byte[] | ||
HashData ( byte data, int offset, int count, Internal.Cryptography.HashAlgorithmName hashAlgorithm ) : byte[] |
Method | Description | |
---|---|---|
AdjustHashSizeIfNecessary ( byte hash ) : byte[] | ||
ComputeQLength ( ) : int | ||
ExportKeyBlob ( bool includePrivateParameters ) : byte[] | ||
ForceSetKeySize ( int newKeySize ) : void | ||
GetDuplicatedKeyHandle ( ) : SafeNCryptKeyHandle | ||
ImportKeyBlob ( byte rsaBlob, bool includePrivate ) : void | ||
Supports2048KeySize ( ) : bool |
public CreateSignature ( byte rgbHash ) : byte[] | ||
rgbHash | byte | |
return | byte[] |
public DSACng ( int keySize ) : Internal.Cryptography | ||
keySize | int | Size of the key to generate, in bits. |
return | Internal.Cryptography |
protected HashData ( Stream data, Internal.Cryptography.HashAlgorithmName hashAlgorithm ) : byte[] | ||
data | Stream | |
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 VerifySignature ( byte rgbHash, byte rgbSignature ) : bool | ||
rgbHash | byte | |
rgbSignature | byte | |
return | bool |