C# Класс Microsoft.Protocols.TestSuites.SharedAdapter.RDCSignatureGenerator

A class implements MD4 algorithm to generate RDC signature.
Наследование: System.Security.Cryptography.HashAlgorithm
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Initialize ( ) : void

Initializes an implementation of the System.Security.Cryptography.HashAlgorithm class.

RDCSignatureGenerator ( ) : System

Initializes a new instance of the RDCSignatureGenerator class

Защищенные методы

Метод Описание
HashCore ( byte array, int start, int size ) : void

Routes data written to the object into the hash algorithm for computing the hash.

HashFinal ( ) : byte[]

Finalizes the hash computation after the last data is processed by the cryptographic stream object.

Приватные методы

Метод Описание
MD4Transform ( ) : void

MD4 basic transformation. Transforms state based on block.

Padding ( ) : byte[]

Get the padding byte array.

ProcessMessage ( byte array ) : void

Computes the hash value for the specified region of the input byte.

RotateLeft ( uint rotatedData, int n ) : uint

Rotate specify data left n bits .

Round1 ( uint a, uint b, uint c, uint d, uint inputData, int s ) : uint

The operation for round1.

Round2 ( uint a, uint b, uint c, uint d, uint inputData, int s ) : uint

The operation for round2.

Round3 ( uint a, uint b, uint c, uint d, uint inputData, int s ) : uint

The operation for round3.

Описание методов

HashCore() защищенный Метод

Routes data written to the object into the hash algorithm for computing the hash.
protected HashCore ( byte array, int start, int size ) : void
array byte The input to compute the hash code for.
start int The offset into the byte array from which to begin using data.
size int The number of bytes in the byte array to use as data.
Результат void

HashFinal() защищенный Метод

Finalizes the hash computation after the last data is processed by the cryptographic stream object.
protected HashFinal ( ) : byte[]
Результат byte[]

Initialize() публичный Метод

Initializes an implementation of the System.Security.Cryptography.HashAlgorithm class.
public Initialize ( ) : void
Результат void

RDCSignatureGenerator() публичный Метод

Initializes a new instance of the RDCSignatureGenerator class
public RDCSignatureGenerator ( ) : System
Результат System