Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.SSPIWrapper Class Reference

Classes

struct  ThreeByteArrays
 

Static Public Member Functions

static System.Net.Security.SafeFreeCredentials AcquireDefaultCredential (System.Net.ISSPIInterface secModule, string package, global::Interop.SspiCli.CredentialUse intent)
 
static System.Net.Security.SafeFreeCredentials AcquireCredentialsHandle (System.Net.ISSPIInterface secModule, string package, global::Interop.SspiCli.CredentialUse intent, ref System.Net.Security.SafeSspiAuthDataHandle authdata)
 
static System.Net.Security.SafeFreeCredentials AcquireDefaultCredential (System.Net.ISSPIInterface secModule, string package, global::Interop.SspiCli.CredentialUse intent)
 
static System.Net.Security.SafeFreeCredentials AcquireCredentialsHandle (System.Net.ISSPIInterface secModule, string package, global::Interop.SspiCli.CredentialUse intent, ref System.Net.Security.SafeSspiAuthDataHandle authdata)
 
static int QuerySecurityContextToken (System.Net.ISSPIInterface secModule, System.Net.Security.SafeDeleteContext context, out System.Net.Security.SecurityContextTokenHandle token)
 
static bool QueryBlittableContextAttributes< T > (System.Net.ISSPIInterface secModule, System.Net.Security.SafeDeleteContext securityContext, global::Interop.SspiCli.ContextAttribute contextAttribute, Type safeHandleType, out SafeHandle sspiHandle, ref T attribute)
 
static string QueryStringContextAttributes (System.Net.ISSPIInterface secModule, System.Net.Security.SafeDeleteContext securityContext, global::Interop.SspiCli.ContextAttribute contextAttribute)
 
static string ErrorDescription (int errorCode)
 
static System.Net.Security.SafeFreeCredentials AcquireDefaultCredential (System.Net.ISSPIInterface secModule, string package, global::Interop.SspiCli.CredentialUse intent)
 
static System.Net.Security.SafeFreeCredentials AcquireCredentialsHandle (System.Net.ISSPIInterface secModule, string package, global::Interop.SspiCli.CredentialUse intent, ref System.Net.Security.SafeSspiAuthDataHandle authdata)
 
static int VerifySignature (System.Net.ISSPIInterface secModule, System.Net.Security.SafeDeleteContext context, Span< System.Net.Security.SecurityBuffer > input, uint sequenceNumber)
 
static bool QueryBlittableContextAttributes< T > (System.Net.ISSPIInterface secModule, System.Net.Security.SafeDeleteContext securityContext, global::Interop.SspiCli.ContextAttribute contextAttribute, ref T attribute)
 
static string ErrorDescription (int errorCode)
 
static SafeFreeCredentials AcquireDefaultCredential (ISSPIInterface secModule, string package, global::Interop.SspiCli.CredentialUse intent)
 
static SafeFreeCredentials AcquireCredentialsHandle (ISSPIInterface secModule, string package, global::Interop.SspiCli.CredentialUse intent, ref SafeSspiAuthDataHandle authdata)
 
static unsafe SafeFreeCredentials AcquireCredentialsHandle (ISSPIInterface secModule, string package, global::Interop.SspiCli.CredentialUse intent, global::Interop.SspiCli.SCHANNEL_CRED *scc)
 
static unsafe SafeFreeCredentials AcquireCredentialsHandle (ISSPIInterface secModule, string package, global::Interop.SspiCli.CredentialUse intent, global::Interop.SspiCli.SCH_CREDENTIALS *scc)
 
static int QuerySecurityContextToken (ISSPIInterface secModule, SafeDeleteContext context, out SecurityContextTokenHandle token)
 
static int EncryptMessage (ISSPIInterface secModule, SafeDeleteContext context, Span< SecurityBuffer > input, uint sequenceNumber)
 
static int DecryptMessage (ISSPIInterface secModule, SafeDeleteContext context, Span< SecurityBuffer > input, uint sequenceNumber)
 
static int VerifySignature (ISSPIInterface secModule, SafeDeleteContext context, Span< SecurityBuffer > input, uint sequenceNumber)
 
static SafeFreeContextBufferChannelBinding QueryContextChannelBinding (ISSPIInterface secModule, SafeDeleteContext securityContext, global::Interop.SspiCli.ContextAttribute contextAttribute)
 
static bool QueryBlittableContextAttributes< T > (ISSPIInterface secModule, SafeDeleteContext securityContext, global::Interop.SspiCli.ContextAttribute contextAttribute, ref T attribute)
 
static bool QueryBlittableContextAttributes< T > (ISSPIInterface secModule, SafeDeleteContext securityContext, global::Interop.SspiCli.ContextAttribute contextAttribute, Type safeHandleType, out SafeHandle sspiHandle, ref T attribute)
 
static string QueryStringContextAttributes (ISSPIInterface secModule, SafeDeleteContext securityContext, global::Interop.SspiCli.ContextAttribute contextAttribute)
 
static SafeFreeCertContext QueryContextAttributes_SECPKG_ATTR_REMOTE_CERT_CONTEXT (ISSPIInterface secModule, SafeDeleteContext securityContext)
 
static bool QueryContextAttributes_SECPKG_ATTR_ISSUER_LIST_EX (ISSPIInterface secModule, SafeDeleteContext securityContext, ref global::Interop.SspiCli.SecPkgContext_IssuerListInfoEx ctx, out SafeHandle sspiHandle)
 
static string ErrorDescription (int errorCode)
 

Static Package Functions

static System.Net.SecurityPackageInfoClass[] EnumerateSecurityPackages (System.Net.ISSPIInterface secModule)
 
static System.Net.SecurityPackageInfoClass GetVerifyPackageInfo (System.Net.ISSPIInterface secModule, string packageName, bool throwIfMissing)
 
static int InitializeSecurityContext (System.Net.ISSPIInterface secModule, ref System.Net.Security.SafeFreeCredentials credential, ref System.Net.Security.SafeDeleteSslContext context, string targetName, global::Interop.SspiCli.ContextFlags inFlags, global::Interop.SspiCli.Endianness datarep, System.Net.Security.InputSecurityBuffers inputBuffers, ref System.Net.Security.SecurityBuffer outputBuffer, ref global::Interop.SspiCli.ContextFlags outFlags)
 
static int AcceptSecurityContext (System.Net.ISSPIInterface secModule, System.Net.Security.SafeFreeCredentials credential, ref System.Net.Security.SafeDeleteSslContext context, global::Interop.SspiCli.ContextFlags inFlags, global::Interop.SspiCli.Endianness datarep, System.Net.Security.InputSecurityBuffers inputBuffers, ref System.Net.Security.SecurityBuffer outputBuffer, ref global::Interop.SspiCli.ContextFlags outFlags)
 
static int CompleteAuthToken (System.Net.ISSPIInterface secModule, ref System.Net.Security.SafeDeleteSslContext context, in System.Net.Security.SecurityBuffer inputBuffer)
 
static System.Net.SecurityPackageInfoClass[] EnumerateSecurityPackages (System.Net.ISSPIInterface secModule)
 
static System.Net.SecurityPackageInfoClass GetVerifyPackageInfo (System.Net.ISSPIInterface secModule, string packageName, bool throwIfMissing)
 
static int InitializeSecurityContext (System.Net.ISSPIInterface secModule, ref System.Net.Security.SafeFreeCredentials credential, ref System.Net.Security.SafeDeleteSslContext context, string targetName, global::Interop.SspiCli.ContextFlags inFlags, global::Interop.SspiCli.Endianness datarep, System.Net.Security.InputSecurityBuffers inputBuffers, ref System.Net.Security.SecurityBuffer outputBuffer, ref global::Interop.SspiCli.ContextFlags outFlags)
 
static int AcceptSecurityContext (System.Net.ISSPIInterface secModule, System.Net.Security.SafeFreeCredentials credential, ref System.Net.Security.SafeDeleteSslContext context, global::Interop.SspiCli.ContextFlags inFlags, global::Interop.SspiCli.Endianness datarep, System.Net.Security.InputSecurityBuffers inputBuffers, ref System.Net.Security.SecurityBuffer outputBuffer, ref global::Interop.SspiCli.ContextFlags outFlags)
 
static int CompleteAuthToken (System.Net.ISSPIInterface secModule, ref System.Net.Security.SafeDeleteSslContext context, in System.Net.Security.SecurityBuffer inputBuffer)
 
static System.Net.SecurityPackageInfoClass[] EnumerateSecurityPackages (System.Net.ISSPIInterface secModule)
 
static System.Net.SecurityPackageInfoClass GetVerifyPackageInfo (System.Net.ISSPIInterface secModule, string packageName, bool throwIfMissing)
 
static int InitializeSecurityContext (System.Net.ISSPIInterface secModule, ref System.Net.Security.SafeFreeCredentials credential, ref System.Net.Security.SafeDeleteSslContext context, string targetName, global::Interop.SspiCli.ContextFlags inFlags, global::Interop.SspiCli.Endianness datarep, System.Net.Security.InputSecurityBuffers inputBuffers, ref System.Net.Security.SecurityBuffer outputBuffer, ref global::Interop.SspiCli.ContextFlags outFlags)
 
static int AcceptSecurityContext (System.Net.ISSPIInterface secModule, System.Net.Security.SafeFreeCredentials credential, ref System.Net.Security.SafeDeleteSslContext context, global::Interop.SspiCli.ContextFlags inFlags, global::Interop.SspiCli.Endianness datarep, System.Net.Security.InputSecurityBuffers inputBuffers, ref System.Net.Security.SecurityBuffer outputBuffer, ref global::Interop.SspiCli.ContextFlags outFlags)
 
static int CompleteAuthToken (System.Net.ISSPIInterface secModule, ref System.Net.Security.SafeDeleteSslContext context, in System.Net.Security.SecurityBuffer inputBuffer)
 
static int MakeSignature (System.Net.ISSPIInterface secModule, System.Net.Security.SafeDeleteContext context, Span< System.Net.Security.SecurityBuffer > input, uint sequenceNumber)
 
static SecurityPackageInfoClass[] EnumerateSecurityPackages (ISSPIInterface secModule)
 
static SecurityPackageInfoClass GetVerifyPackageInfo (ISSPIInterface secModule, string packageName, bool throwIfMissing)
 
static int InitializeSecurityContext (ISSPIInterface secModule, ref SafeFreeCredentials credential, ref SafeDeleteSslContext context, string targetName, global::Interop.SspiCli.ContextFlags inFlags, global::Interop.SspiCli.Endianness datarep, InputSecurityBuffers inputBuffers, ref SecurityBuffer outputBuffer, ref global::Interop.SspiCli.ContextFlags outFlags)
 
static int AcceptSecurityContext (ISSPIInterface secModule, SafeFreeCredentials credential, ref SafeDeleteSslContext context, global::Interop.SspiCli.ContextFlags inFlags, global::Interop.SspiCli.Endianness datarep, InputSecurityBuffers inputBuffers, ref SecurityBuffer outputBuffer, ref global::Interop.SspiCli.ContextFlags outFlags)
 
static int CompleteAuthToken (ISSPIInterface secModule, ref SafeDeleteSslContext context, in SecurityBuffer inputBuffer)
 
static int ApplyControlToken (ISSPIInterface secModule, ref SafeDeleteContext context, in SecurityBuffer inputBuffer)
 
static int MakeSignature (ISSPIInterface secModule, SafeDeleteContext context, Span< SecurityBuffer > input, uint sequenceNumber)
 

Private Types

enum  OP {
  Encrypt = 1 , Decrypt , MakeSignature , VerifySignature ,
  Encrypt = 1 , Decrypt , MakeSignature , VerifySignature
}
 
enum  OP {
  Encrypt = 1 , Decrypt , MakeSignature , VerifySignature ,
  Encrypt = 1 , Decrypt , MakeSignature , VerifySignature
}
 

Static Private Member Functions

static unsafe int EncryptDecryptHelper (OP op, System.Net.ISSPIInterface secModule, System.Net.Security.SafeDeleteContext context, Span< System.Net.Security.SecurityBuffer > input, uint sequenceNumber)
 
static unsafe int EncryptDecryptHelper (OP op, ISSPIInterface secModule, SafeDeleteContext context, Span< SecurityBuffer > input, uint sequenceNumber)
 

Detailed Description

Definition at line 6 of file SSPIWrapper.cs.


The documentation for this class was generated from the following files: