Class Gost3410_2012_512
Represents the abstract class from which GOST R 34.10 - 2012 (512) algorithms can inherit.
Inheritance
Implements
Inherited Members
Namespace: CryptoPro.Security.Cryptography
Assembly: CryptoPro.Security.Cryptography.dll
Syntax
public abstract class Gost3410_2012_512 : Gost3410Algorithm, IDisposable
Fields
DefaultKeySize
Gets the key size for this algorithm.
Declaration
public const int DefaultKeySize = 1024
Field Value
Type | Description |
---|---|
int |
Properties
HashAlgorithmName
Gets or sets the hash algorithm to use when signing and verifying data.
Declaration
protected override sealed CpHashAlgorithmName HashAlgorithmName { get; }
Property Value
Type | Description |
---|---|
CpHashAlgorithmName |
Overrides
HashSizeInBytes
Gets the hash value size in bytes.
Declaration
protected override int HashSizeInBytes { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
KeyExchangeAlgorithm
When overridden in a derived class, gets the name of the key exchange algorithm. Otherwise, throws an NotImplementedException.
Declaration
public override string KeyExchangeAlgorithm { get; }
Property Value
Type | Description |
---|---|
string | The name of the key exchange algorithm. |
Overrides
KeySizeInBits
Gets the key size in bits.
Declaration
protected override int KeySizeInBits { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
SignatureAlgorithm
When implemented in a derived class, gets the name of the signature algorithm. Otherwise, always throws a NotImplementedException.
Declaration
public override string SignatureAlgorithm { get; }
Property Value
Type | Description |
---|---|
string | The name of the signature algorithm. |
Overrides
SignatureSizeInBytes
Gets the signature value size in bytes.
Declaration
protected override sealed int SignatureSizeInBytes { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
Create()
Creates a default implementation of Gost3410_2012_512.
Declaration
public static Gost3410_2012_512 Create()
Returns
Type | Description |
---|---|
Gost3410_2012_512 | A default implementation Gost3410_2012_512. |
Create(Gost3410Parameters)
Creates a default implementation of Gost3410_2012_256 using Gost3410Parameters parameters.
Declaration
public static Gost3410_2012_512 Create(Gost3410Parameters parameters)
Parameters
Type | Name | Description |
---|---|---|
Gost3410Parameters | parameters |
Returns
Type | Description |
---|---|
Gost3410_2012_512 | A default implementation Gost3410_2012_256. |
ExportParameters()
When overridden in a derived class exports Gost3410Parameters.
Declaration
public abstract Gost3410Parameters ExportParameters()
Returns
Type | Description |
---|---|
Gost3410Parameters | The Gost3410Parameters. |
ImportParameters(Gost3410Parameters)
When overridden in a derived class, imports the specified Gost3410Parameters.
Declaration
public abstract void ImportParameters(Gost3410Parameters parameters)
Parameters
Type | Name | Description |
---|---|---|
Gost3410Parameters | parameters | The Gost3410Parameters to import. |