C# Class System.Net.SSPIWrapper

Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
AcquireCredentialsHandle ( System.Net.Security.SSPIInterface secModule, string package, System.Net.Interop intent, System.Net.Interop &authdata ) : SafeFreeCredentials
AcquireCredentialsHandle ( System.Net.Security.SSPIInterface secModule, string package, System.Net.Interop intent, SafeSspiAuthDataHandle &authdata ) : SafeFreeCredentials
AcquireDefaultCredential ( System.Net.Security.SSPIInterface secModule, string package, System.Net.Interop intent ) : SafeFreeCredentials
DecryptMessage ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext context, SecurityBuffer input, uint sequenceNumber ) : int
EncryptMessage ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext context, SecurityBuffer input, uint sequenceNumber ) : int
ErrorDescription ( int errorCode ) : string
QueryContextAttributes ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext securityContext, System.Net.Interop contextAttribute ) : object
QueryContextAttributes ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext securityContext, System.Net.Interop contextAttribute, int &errorCode ) : object
QueryContextChannelBinding ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext securityContext, System.Net.Interop contextAttribute ) : SafeFreeContextBufferChannelBinding
QuerySecurityContextToken ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext context, SecurityContextTokenHandle &token ) : int
VerifySignature ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext context, SecurityBuffer input, uint sequenceNumber ) : int

Private Methods

Method Description
AcceptSecurityContext ( System.Net.Security.SSPIInterface secModule, SafeFreeCredentials &credential, SafeDeleteContext &context, System.Net.Interop inFlags, System.Net.Interop datarep, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, System.Net.Interop &outFlags ) : int
ApplyControlToken ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext &context, SecurityBuffer inputBuffers ) : int
CompleteAuthToken ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext &context, SecurityBuffer inputBuffers ) : int
EncryptDecryptHelper ( OP op, System.Net.Security.SSPIInterface secModule, SafeDeleteContext context, SecurityBuffer input, uint sequenceNumber ) : int
EnumerateSecurityPackages ( System.Net.Security.SSPIInterface secModule ) : System.Net.SecurityPackageInfoClass[]
GetVerifyPackageInfo ( System.Net.Security.SSPIInterface secModule, string packageName ) : SecurityPackageInfoClass
GetVerifyPackageInfo ( System.Net.Security.SSPIInterface secModule, string packageName, bool throwIfMissing ) : SecurityPackageInfoClass
InitializeSecurityContext ( System.Net.Security.SSPIInterface secModule, SafeFreeCredentials &credential, SafeDeleteContext &context, string targetName, System.Net.Interop inFlags, System.Net.Interop datarep, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, System.Net.Interop &outFlags ) : int
MakeSignature ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext context, SecurityBuffer input, uint sequenceNumber ) : int

Method Details

AcquireCredentialsHandle() public static method

public static AcquireCredentialsHandle ( System.Net.Security.SSPIInterface secModule, string package, System.Net.Interop intent, System.Net.Interop &authdata ) : SafeFreeCredentials
secModule System.Net.Security.SSPIInterface
package string
intent System.Net.Interop
authdata System.Net.Interop
return SafeFreeCredentials

AcquireCredentialsHandle() public static method

public static AcquireCredentialsHandle ( System.Net.Security.SSPIInterface secModule, string package, System.Net.Interop intent, SafeSspiAuthDataHandle &authdata ) : SafeFreeCredentials
secModule System.Net.Security.SSPIInterface
package string
intent System.Net.Interop
authdata SafeSspiAuthDataHandle
return SafeFreeCredentials

AcquireDefaultCredential() public static method

public static AcquireDefaultCredential ( System.Net.Security.SSPIInterface secModule, string package, System.Net.Interop intent ) : SafeFreeCredentials
secModule System.Net.Security.SSPIInterface
package string
intent System.Net.Interop
return SafeFreeCredentials

DecryptMessage() public static method

public static DecryptMessage ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext context, SecurityBuffer input, uint sequenceNumber ) : int
secModule System.Net.Security.SSPIInterface
context SafeDeleteContext
input SecurityBuffer
sequenceNumber uint
return int

EncryptMessage() public static method

public static EncryptMessage ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext context, SecurityBuffer input, uint sequenceNumber ) : int
secModule System.Net.Security.SSPIInterface
context SafeDeleteContext
input SecurityBuffer
sequenceNumber uint
return int

ErrorDescription() public static method

public static ErrorDescription ( int errorCode ) : string
errorCode int
return string

QueryContextAttributes() public static method

public static QueryContextAttributes ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext securityContext, System.Net.Interop contextAttribute ) : object
secModule System.Net.Security.SSPIInterface
securityContext SafeDeleteContext
contextAttribute System.Net.Interop
return object

QueryContextAttributes() public static method

public static QueryContextAttributes ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext securityContext, System.Net.Interop contextAttribute, int &errorCode ) : object
secModule System.Net.Security.SSPIInterface
securityContext SafeDeleteContext
contextAttribute System.Net.Interop
errorCode int
return object

QueryContextChannelBinding() public static method

public static QueryContextChannelBinding ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext securityContext, System.Net.Interop contextAttribute ) : SafeFreeContextBufferChannelBinding
secModule System.Net.Security.SSPIInterface
securityContext SafeDeleteContext
contextAttribute System.Net.Interop
return SafeFreeContextBufferChannelBinding

QuerySecurityContextToken() public static method

public static QuerySecurityContextToken ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext context, SecurityContextTokenHandle &token ) : int
secModule System.Net.Security.SSPIInterface
context SafeDeleteContext
token SecurityContextTokenHandle
return int

VerifySignature() public static method

public static VerifySignature ( System.Net.Security.SSPIInterface secModule, SafeDeleteContext context, SecurityBuffer input, uint sequenceNumber ) : int
secModule System.Net.Security.SSPIInterface
context SafeDeleteContext
input SecurityBuffer
sequenceNumber uint
return int