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

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

    Class PrfGost

    Inheritance
    object
    PrfGost
    PrfGost3411
    PrfGost3411_2012_256
    PrfGost3411_2012_512
    Implements
    IDisposable
    Inherited Members
    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
    [ComVisible(true)]
    public abstract class PrfGost : IDisposable

    Fields

    _aValue

    Declaration
    protected byte[] _aValue
    Field Value
    Type Description
    byte[]

    _buffer

    Declaration
    protected byte[] _buffer
    Field Value
    Type Description
    byte[]

    _key

    Declaration
    protected Gost28147CryptoServiceProvider _key
    Field Value
    Type Description
    Gost28147CryptoServiceProvider

    _keyIndex

    Declaration
    protected int _keyIndex
    Field Value
    Type Description
    int

    _labelseed

    Declaration
    protected byte[] _labelseed
    Field Value
    Type Description
    byte[]

    Methods

    ComputeHash(byte[])

    Declaration
    protected byte[] ComputeHash(byte[] buffer)
    Parameters
    Type Name Description
    byte[] buffer
    Returns
    Type Description
    byte[]

    DeriveBytes()

    Порождает очередные биты псевдослучайной последовательности по алгоритму PRF_GOSTR3411.

    Declaration
    public byte[] DeriveBytes()
    Returns
    Type Description
    byte[]

    DeriveKey()

    Порождает очередной симметричный ключ ГОСТ 28147 по алгоритму PRF_GOSTR3411.

    Declaration
    public Gost28147 DeriveKey()
    Returns
    Type Description
    Gost28147

    Порождённый ключ Gost28147.

    DeriveKey(int)

    Порождает симметричный глюч ГОСТ 28147 по алгоритму PRF_GOSTR3411 с необходимым порядковым номером.

    Declaration
    public Gost28147 DeriveKey(int position)
    Parameters
    Type Name Description
    int position

    Позиция порождаемого ключа в выходной последовательности функции PRF_GOSTR3411. Отсчитывается в байтах.

    Returns
    Type Description
    Gost28147

    Порождённый ключ Gost28147.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Если position не кратна длине ключа в байтах или ключ с требуемой позицией уже был порождён.

    Dispose()

    Освобождает используемые ресурсы.

    Declaration
    public void Dispose()

    DoPrfStep()

    Declaration
    protected void DoPrfStep()

    DuplicateKey(Gost28147)

    Declaration
    protected static Gost28147CryptoServiceProvider DuplicateKey(Gost28147 src)
    Parameters
    Type Name Description
    Gost28147 src
    Returns
    Type Description
    Gost28147CryptoServiceProvider

    HashSize()

    Declaration
    protected abstract int HashSize()
    Returns
    Type Description
    int

    InitializeHmac()

    Declaration
    protected abstract void InitializeHmac()

    Implements

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