C# Class openCrypto.TLS.PRF.MD5_AND_SHA1

Inheritance: IPRF
Afficher le fichier Open project: kazuki/opencrypto-tls

Méthodes publiques

Méthode Description
Compute ( int bytes, byte secret, string label, byte seeds ) : byte[]
GetHandshakeHash ( ) : byte[]
HandshakeHashInitialize ( ) : void
HandshakeHashTransformBlock ( byte buffer, int offset, int length ) : void
HandshakeHashTransformFinished ( bool senderIsServer ) : void

Private Methods

Méthode Description
Compute_PHash ( int bytes, byte seeds, HMAC hmac, int blockSize ) : byte[]

Method Details

Compute() public méthode

public Compute ( int bytes, byte secret, string label, byte seeds ) : byte[]
bytes int
secret byte
label string
seeds byte
Résultat byte[]

GetHandshakeHash() public méthode

public GetHandshakeHash ( ) : byte[]
Résultat byte[]

HandshakeHashInitialize() public méthode

public HandshakeHashInitialize ( ) : void
Résultat void

HandshakeHashTransformBlock() public méthode

public HandshakeHashTransformBlock ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
Résultat void

HandshakeHashTransformFinished() public méthode

public HandshakeHashTransformFinished ( bool senderIsServer ) : void
senderIsServer bool
Résultat void