Class GostRngCryptoServiceProvider
Inheritance
GostRngCryptoServiceProvider
Assembly: CryptoPro.Security.Cryptography.dll
Syntax
public class GostRngCryptoServiceProvider : CpRandomNumberGenerator, IDisposable
Constructors
GostRngCryptoServiceProvider()
Declaration
public GostRngCryptoServiceProvider()
GostRngCryptoServiceProvider(CpCspParameters)
Declaration
public GostRngCryptoServiceProvider(CpCspParameters cspParams)
Parameters
Methods
Create()
Declaration
public static GostRngCryptoServiceProvider Create()
Returns
Create(CpCspParameters)
Declaration
public static GostRngCryptoServiceProvider Create(CpCspParameters cspParams)
Parameters
Returns
Dispose(bool)
When overridden in a derived class, releases the unmanaged resources used by the RandomNumberGenerator and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
bool |
disposing |
true to release both managed and unmanaged resources; false to release only unmanaged resources.
|
Overrides
GetBytes(byte[])
When overridden in a derived class, fills an array of bytes with a cryptographically strong random sequence of values.
Declaration
public override void GetBytes(byte[] data)
Parameters
Type |
Name |
Description |
byte[] |
data |
The array to fill with cryptographically strong random bytes.
|
Overrides
Implements