|
static NEGOTIATE_CONTEXT * | negotiate_ContextNew (NEGOTIATE_CONTEXT *init_context) |
|
static void | negotiate_ContextFree (NEGOTIATE_CONTEXT *context) |
|
static const char * | negotiate_mech_name (const WinPrAsn1_OID *oid) |
|
static const Mech * | negotiate_GetMechByOID (const WinPrAsn1_OID *oid) |
|
static PSecHandle | negotiate_FindCredential (MechCred *creds, const Mech *mech) |
|
static BOOL | negotiate_get_dword (HKEY hKey, const char *subkey, DWORD *pdwValue) |
|
static BOOL | negotiate_get_config_from_auth_package_list (void *pAuthData, BOOL *kerberos, BOOL *ntlm) |
|
static BOOL | negotiate_get_config (void *pAuthData, BOOL *kerberos, BOOL *ntlm) |
|
static BOOL | negotiate_write_neg_token (PSecBuffer output_buffer, NegToken *token) |
|
static BOOL | negotiate_read_neg_token (PSecBuffer input, NegToken *token) |
|
static SECURITY_STATUS | negotiate_mic_exchange (NEGOTIATE_CONTEXT *context, NegToken *input_token, NegToken *output_token, PSecBuffer output_buffer) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_InitializeSecurityContextW (PCredHandle phCredential, PCtxtHandle phContext, SEC_WCHAR *pszTargetName, ULONG fContextReq, ULONG Reserved1, ULONG TargetDataRep, PSecBufferDesc pInput, ULONG Reserved2, PCtxtHandle phNewContext, PSecBufferDesc pOutput, PULONG pfContextAttr, PTimeStamp ptsExpiry) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_InitializeSecurityContextA (PCredHandle phCredential, PCtxtHandle phContext, SEC_CHAR *pszTargetName, ULONG fContextReq, ULONG Reserved1, ULONG TargetDataRep, PSecBufferDesc pInput, ULONG Reserved2, PCtxtHandle phNewContext, PSecBufferDesc pOutput, PULONG pfContextAttr, PTimeStamp ptsExpiry) |
|
static const Mech * | guessMech (PSecBuffer input_buffer, BOOL *spNego, WinPrAsn1_OID *oid) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_AcceptSecurityContext (PCredHandle phCredential, PCtxtHandle phContext, PSecBufferDesc pInput, ULONG fContextReq, ULONG TargetDataRep, PCtxtHandle phNewContext, PSecBufferDesc pOutput, PULONG pfContextAttr, PTimeStamp ptsTimeStamp) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_CompleteAuthToken (PCtxtHandle phContext, PSecBufferDesc pToken) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_DeleteSecurityContext (PCtxtHandle phContext) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_ImpersonateSecurityContext (PCtxtHandle phContext) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_RevertSecurityContext (PCtxtHandle phContext) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_QueryContextAttributesW (PCtxtHandle phContext, ULONG ulAttribute, void *pBuffer) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_QueryContextAttributesA (PCtxtHandle phContext, ULONG ulAttribute, void *pBuffer) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_SetContextAttributesW (PCtxtHandle phContext, ULONG ulAttribute, void *pBuffer, ULONG cbBuffer) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_SetContextAttributesA (PCtxtHandle phContext, ULONG ulAttribute, void *pBuffer, ULONG cbBuffer) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_SetCredentialsAttributesW (PCredHandle phCredential, ULONG ulAttribute, void *pBuffer, ULONG cbBuffer) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_SetCredentialsAttributesA (PCredHandle phCredential, ULONG ulAttribute, void *pBuffer, ULONG cbBuffer) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_AcquireCredentialsHandleW (SEC_WCHAR *pszPrincipal, SEC_WCHAR *pszPackage, ULONG fCredentialUse, void *pvLogonID, void *pAuthData, SEC_GET_KEY_FN pGetKeyFn, void *pvGetKeyArgument, PCredHandle phCredential, PTimeStamp ptsExpiry) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_AcquireCredentialsHandleA (SEC_CHAR *pszPrincipal, SEC_CHAR *pszPackage, ULONG fCredentialUse, void *pvLogonID, void *pAuthData, SEC_GET_KEY_FN pGetKeyFn, void *pvGetKeyArgument, PCredHandle phCredential, PTimeStamp ptsExpiry) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_QueryCredentialsAttributesW (PCredHandle phCredential, ULONG ulAttribute, void *pBuffer) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_QueryCredentialsAttributesA (PCredHandle phCredential, ULONG ulAttribute, void *pBuffer) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_FreeCredentialsHandle (PCredHandle phCredential) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_EncryptMessage (PCtxtHandle phContext, ULONG fQOP, PSecBufferDesc pMessage, ULONG MessageSeqNo) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_DecryptMessage (PCtxtHandle phContext, PSecBufferDesc pMessage, ULONG MessageSeqNo, ULONG *pfQOP) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_MakeSignature (PCtxtHandle phContext, ULONG fQOP, PSecBufferDesc pMessage, ULONG MessageSeqNo) |
|
static SECURITY_STATUS SEC_ENTRY | negotiate_VerifySignature (PCtxtHandle phContext, PSecBufferDesc pMessage, ULONG MessageSeqNo, ULONG *pfQOP) |
|
BOOL | NEGOTIATE_init (void) |
|
WinPR: Windows Portable Runtime Negotiate Security Package
Copyright 2011-2014 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2017 Dorian Ducournau doria.nosp@m.n.du.nosp@m.courn.nosp@m.au@g.nosp@m.mail..nosp@m.com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.