C# Class Microsoft.Protocols.TestSuites.SharedAdapter.RDCSignatureGenerator

A class implements MD4 algorithm to generate RDC signature.
Inheritance: System.Security.Cryptography.HashAlgorithm
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes publiques

Méthode Description
Initialize ( ) : void

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

RDCSignatureGenerator ( ) : System

Initializes a new instance of the RDCSignatureGenerator class

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

HashCore() protected méthode

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.
Résultat void

HashFinal() protected méthode

Finalizes the hash computation after the last data is processed by the cryptographic stream object.
protected HashFinal ( ) : byte[]
Résultat byte[]

Initialize() public méthode

Initializes an implementation of the System.Security.Cryptography.HashAlgorithm class.
public Initialize ( ) : void
Résultat void

RDCSignatureGenerator() public méthode

Initializes a new instance of the RDCSignatureGenerator class
public RDCSignatureGenerator ( ) : System
Résultat System