C# 클래스 SharpCifs.Smb.SigningDigest

To filter 0 len updates and for debugging
파일 보기 프로젝트 열기: brandonprry/Potato 1 사용 예제들

공개 메소드들

메소드 설명
Digest ( ) : byte[]
SigningDigest ( SmbTransport transport, NtlmPasswordAuthentication auth ) : System
SigningDigest ( byte macSigningKey, bool bypass ) : System
ToString ( ) : string
Update ( byte input, int offset, int len ) : void

비공개 메소드들

메소드 설명
Sign ( byte data, int offset, int length, ServerMessageBlock request, ServerMessageBlock response ) : void

Performs MAC signing of the SMB.

Performs MAC signing of the SMB. This is done as follows. The signature field of the SMB is overwritted with the sequence number; The MD5 digest of the MAC signing key + the entire SMB is taken; The first 8 bytes of this are placed in the signature field.

Verify ( byte data, int offset, ServerMessageBlock response ) : bool

Performs MAC signature verification.

Performs MAC signature verification. This calculates the signature of the SMB and compares it to the signature field on the SMB itself.

메소드 상세

Digest() 공개 메소드

public Digest ( ) : byte[]
리턴 byte[]

SigningDigest() 공개 메소드

public SigningDigest ( SmbTransport transport, NtlmPasswordAuthentication auth ) : System
transport SmbTransport
auth NtlmPasswordAuthentication
리턴 System

SigningDigest() 공개 메소드

public SigningDigest ( byte macSigningKey, bool bypass ) : System
macSigningKey byte
bypass bool
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Update() 공개 메소드

public Update ( byte input, int offset, int len ) : void
input byte
offset int
len int
리턴 void