From 59b4e46bc009dad3613c342a571092a5ae8ff6ef Mon Sep 17 00:00:00 2001 From: Tal Aloni Date: Fri, 25 Aug 2017 02:57:36 +0300 Subject: [PATCH] SPNEGO: Added exception documentation --- .../GSSAPI/SPNEGO/SimpleProtectedNegotiationToken.cs | 1 + .../GSSAPI/SPNEGO/SimpleProtectedNegotiationTokenInit.cs | 1 + .../GSSAPI/SPNEGO/SimpleProtectedNegotiationTokenResponse.cs | 1 + 3 files changed, 3 insertions(+) diff --git a/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationToken.cs b/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationToken.cs index c4328c3..ee8fb8a 100644 --- a/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationToken.cs +++ b/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationToken.cs @@ -22,6 +22,7 @@ namespace SMBLibrary.Authentication.GSSAPI /// /// https://tools.ietf.org/html/rfc2743 /// + /// public static SimpleProtectedNegotiationToken ReadToken(byte[] tokenBytes, int offset) { byte tag = ByteReader.ReadByte(tokenBytes, ref offset); diff --git a/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationTokenInit.cs b/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationTokenInit.cs index f1e414c..acf5bb9 100644 --- a/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationTokenInit.cs +++ b/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationTokenInit.cs @@ -35,6 +35,7 @@ namespace SMBLibrary.Authentication.GSSAPI } /// The offset following the NegTokenInit tag + /// public SimpleProtectedNegotiationTokenInit(byte[] buffer, int offset) { int constructionLength = DerEncodingHelper.ReadLength(buffer, ref offset); diff --git a/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationTokenResponse.cs b/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationTokenResponse.cs index 66906fe..b2f618e 100644 --- a/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationTokenResponse.cs +++ b/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationTokenResponse.cs @@ -40,6 +40,7 @@ namespace SMBLibrary.Authentication.GSSAPI } /// The offset following the NegTokenResp tag + /// public SimpleProtectedNegotiationTokenResponse(byte[] buffer, int offset) { int constuctionLength = DerEncodingHelper.ReadLength(buffer, ref offset);