mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-24 02:00:27 +02:00
SPNEGO: Added exception documentation
This commit is contained in:
parent
97a48adf4a
commit
59b4e46bc0
3 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,7 @@ namespace SMBLibrary.Authentication.GSSAPI
|
|||
/// <summary>
|
||||
/// https://tools.ietf.org/html/rfc2743
|
||||
/// </summary>
|
||||
/// <exception cref="System.IO.InvalidDataException"></exception>
|
||||
public static SimpleProtectedNegotiationToken ReadToken(byte[] tokenBytes, int offset)
|
||||
{
|
||||
byte tag = ByteReader.ReadByte(tokenBytes, ref offset);
|
||||
|
|
|
@ -35,6 +35,7 @@ namespace SMBLibrary.Authentication.GSSAPI
|
|||
}
|
||||
|
||||
/// <param name="offset">The offset following the NegTokenInit tag</param>
|
||||
/// <exception cref="System.IO.InvalidDataException"></exception>
|
||||
public SimpleProtectedNegotiationTokenInit(byte[] buffer, int offset)
|
||||
{
|
||||
int constructionLength = DerEncodingHelper.ReadLength(buffer, ref offset);
|
||||
|
|
|
@ -40,6 +40,7 @@ namespace SMBLibrary.Authentication.GSSAPI
|
|||
}
|
||||
|
||||
/// <param name="offset">The offset following the NegTokenResp tag</param>
|
||||
/// <exception cref="System.IO.InvalidDataException"></exception>
|
||||
public SimpleProtectedNegotiationTokenResponse(byte[] buffer, int offset)
|
||||
{
|
||||
int constuctionLength = DerEncodingHelper.ReadLength(buffer, ref offset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue