КриптоПро .NET
Search Results for

    Показать/Скрыть содержание

    Class Gost3410

    Represents the abstract class from which GOST R 34.10 - 2001 algorithms can inherit.

    Inheritance
    object
    AsymmetricAlgorithm
    Gost3410Algorithm
    Gost3410
    Gost3410CryptoServiceProvider
    Gost3410EphemeralCryptoServiceProvider
    Gost3410_2012_256EphemeralCryptoServiceProvider
    Gost3410_2012_512EphemeralCryptoServiceProvider
    Implements
    IDisposable
    Inherited Members
    Gost3410Algorithm.LegalKeySizes
    Gost3410Algorithm.KeySize
    Gost3410Algorithm.ImportPublicKey(ReadOnlySpan<byte>, ReadOnlySpan<byte>)
    Gost3410Algorithm.CreateAgree(Gost3410Parameters)
    Gost3410Algorithm.SignData(byte[])
    Gost3410Algorithm.SignData(byte[], int, int)
    Gost3410Algorithm.SignData(ReadOnlySpan<byte>)
    Gost3410Algorithm.SignData(ReadOnlySpan<byte>, Span<byte>)
    Gost3410Algorithm.SignData(Stream)
    Gost3410Algorithm.SignHash(byte[])
    Gost3410Algorithm.SignHash(ReadOnlySpan<byte>)
    Gost3410Algorithm.SignHash(ReadOnlySpan<byte>, Span<byte>)
    Gost3410Algorithm.TrySignHash(ReadOnlySpan<byte>, Span<byte>, out int)
    Gost3410Algorithm.TrySignData(ReadOnlySpan<byte>, Span<byte>, out int)
    Gost3410Algorithm.VerifyData(byte[], byte[])
    Gost3410Algorithm.VerifyData(byte[], int, int, byte[])
    Gost3410Algorithm.VerifyData(ReadOnlySpan<byte>, ReadOnlySpan<byte>)
    Gost3410Algorithm.VerifyData(Stream, byte[])
    Gost3410Algorithm.VerifyHash(byte[], byte[])
    Gost3410Algorithm.VerifyHash(ReadOnlySpan<byte>, ReadOnlySpan<byte>)
    Gost3410Algorithm.SignHashCore(ReadOnlySpan<byte>)
    Gost3410Algorithm.SignDataCore(ReadOnlySpan<byte>)
    Gost3410Algorithm.VerifyDataCore(Stream, ReadOnlySpan<byte>)
    Gost3410Algorithm.VerifyDataCore(ReadOnlySpan<byte>, ReadOnlySpan<byte>)
    Gost3410Algorithm.TrySignDataCore(ReadOnlySpan<byte>, Span<byte>, out int)
    Gost3410Algorithm.HashData(byte[], int, int)
    Gost3410Algorithm.HashData(Stream)
    Gost3410Algorithm.TryHashData(ReadOnlySpan<byte>, Span<byte>, out int)
    Gost3410Algorithm.TrySignHashCore(ReadOnlySpan<byte>, Span<byte>, out int)
    Gost3410Algorithm.VerifyHashCore(ReadOnlySpan<byte>, ReadOnlySpan<byte>)
    AsymmetricAlgorithm.KeySizeValue
    AsymmetricAlgorithm.LegalKeySizesValue
    AsymmetricAlgorithm.Clear()
    AsymmetricAlgorithm.Create(string)
    AsymmetricAlgorithm.Dispose()
    AsymmetricAlgorithm.Dispose(bool)
    AsymmetricAlgorithm.ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte>, PbeParameters)
    AsymmetricAlgorithm.ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char>, PbeParameters)
    AsymmetricAlgorithm.ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<byte>, PbeParameters)
    AsymmetricAlgorithm.ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<char>, PbeParameters)
    AsymmetricAlgorithm.ExportPkcs8PrivateKey()
    AsymmetricAlgorithm.ExportPkcs8PrivateKeyPem()
    AsymmetricAlgorithm.ExportSubjectPublicKeyInfo()
    AsymmetricAlgorithm.ExportSubjectPublicKeyInfoPem()
    AsymmetricAlgorithm.FromXmlString(string)
    AsymmetricAlgorithm.ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte>, ReadOnlySpan<byte>, out int)
    AsymmetricAlgorithm.ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<char>, ReadOnlySpan<byte>, out int)
    AsymmetricAlgorithm.ImportFromEncryptedPem(ReadOnlySpan<char>, ReadOnlySpan<byte>)
    AsymmetricAlgorithm.ImportFromEncryptedPem(ReadOnlySpan<char>, ReadOnlySpan<char>)
    AsymmetricAlgorithm.ImportFromPem(ReadOnlySpan<char>)
    AsymmetricAlgorithm.ImportPkcs8PrivateKey(ReadOnlySpan<byte>, out int)
    AsymmetricAlgorithm.ImportSubjectPublicKeyInfo(ReadOnlySpan<byte>, out int)
    AsymmetricAlgorithm.ToXmlString(bool)
    AsymmetricAlgorithm.TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte>, PbeParameters, Span<byte>, out int)
    AsymmetricAlgorithm.TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char>, PbeParameters, Span<byte>, out int)
    AsymmetricAlgorithm.TryExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<byte>, PbeParameters, Span<char>, out int)
    AsymmetricAlgorithm.TryExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<char>, PbeParameters, Span<char>, out int)
    AsymmetricAlgorithm.TryExportPkcs8PrivateKey(Span<byte>, out int)
    AsymmetricAlgorithm.TryExportPkcs8PrivateKeyPem(Span<char>, out int)
    AsymmetricAlgorithm.TryExportSubjectPublicKeyInfo(Span<byte>, out int)
    AsymmetricAlgorithm.TryExportSubjectPublicKeyInfoPem(Span<char>, out int)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CryptoPro.Security.Cryptography
    Assembly: CryptoPro.Security.Cryptography.dll
    Syntax
    public abstract class Gost3410 : Gost3410Algorithm, IDisposable

    Fields

    DefaultKeySize

    Gets the key size for this algorithm.

    Declaration
    public const int DefaultKeySize = 512
    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
    Gost3410Algorithm.HashAlgorithmName

    HashSizeInBytes

    Gets the hash value size in bytes.

    Declaration
    protected override int HashSizeInBytes { get; }
    Property Value
    Type Description
    int
    Overrides
    Gost3410Algorithm.HashSizeInBytes

    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
    AsymmetricAlgorithm.KeyExchangeAlgorithm

    KeySizeInBits

    Gets the key size in bits.

    Declaration
    protected override int KeySizeInBits { get; }
    Property Value
    Type Description
    int
    Overrides
    Gost3410Algorithm.KeySizeInBits

    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
    AsymmetricAlgorithm.SignatureAlgorithm

    SignatureSizeInBytes

    Gets the signature value size in bytes.

    Declaration
    protected override sealed int SignatureSizeInBytes { get; }
    Property Value
    Type Description
    int
    Overrides
    Gost3410Algorithm.SignatureSizeInBytes

    Methods

    Create()

    Creates a default implementation of Gost3410.

    Declaration
    public static Gost3410 Create()
    Returns
    Type Description
    Gost3410

    A default implementation Gost3410.

    Create(Gost3410Parameters)

    Creates a default implementation of Gost3410 using Gost3410Parameters parameters.

    Declaration
    public static Gost3410 Create(Gost3410Parameters parameters)
    Parameters
    Type Name Description
    Gost3410Parameters parameters
    Returns
    Type Description
    Gost3410

    A default implementation Gost3410.

    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.

    Implements

    IDisposable
    В этом разделе
    Наверх Generated by DocFX