Comments.
This commit is contained in:
@@ -7,7 +7,9 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace NSspi.Contexts
|
namespace NSspi.Contexts
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Stores the result of a context query for the context's buffer sizes.
|
||||||
|
/// </summary>
|
||||||
[StructLayout( LayoutKind.Sequential )]
|
[StructLayout( LayoutKind.Sequential )]
|
||||||
internal struct SecPkgContext_Sizes
|
internal struct SecPkgContext_Sizes
|
||||||
{
|
{
|
||||||
@@ -17,6 +19,9 @@ namespace NSspi.Contexts
|
|||||||
public int SecurityTrailer;
|
public int SecurityTrailer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Stores the result of a context query for a string-valued context attribute.
|
||||||
|
/// </summary>
|
||||||
[StructLayout( LayoutKind.Sequential )]
|
[StructLayout( LayoutKind.Sequential )]
|
||||||
internal struct SecPkgContext_String
|
internal struct SecPkgContext_String
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ using NSspi.Credentials;
|
|||||||
|
|
||||||
namespace NSspi.Contexts
|
namespace NSspi.Contexts
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Represents a security context used in a server role.
|
||||||
|
/// </summary>
|
||||||
public class ServerContext : Context
|
public class ServerContext : Context
|
||||||
{
|
{
|
||||||
private ContextAttrib requestedAttribs;
|
private ContextAttrib requestedAttribs;
|
||||||
@@ -16,6 +19,12 @@ namespace NSspi.Contexts
|
|||||||
|
|
||||||
private bool impersonating;
|
private bool impersonating;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Performs basic initialization of a new instance of the ServerContext class. The ServerContext
|
||||||
|
/// is not ready for message manipulation until a security context has been established with a client.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="cred"></param>
|
||||||
|
/// <param name="requestedAttribs"></param>
|
||||||
public ServerContext(ServerCredential cred, ContextAttrib requestedAttribs) : base ( cred )
|
public ServerContext(ServerCredential cred, ContextAttrib requestedAttribs) : base ( cred )
|
||||||
{
|
{
|
||||||
this.requestedAttribs = requestedAttribs;
|
this.requestedAttribs = requestedAttribs;
|
||||||
|
|||||||
Reference in New Issue
Block a user