FreeRDP
|
Data Structures | |
struct | sspi_gss_data |
Macros | |
#define | SSPI_GSS_C_DELEG_FLAG 1 |
#define | SSPI_GSS_C_MUTUAL_FLAG 2 |
#define | SSPI_GSS_C_REPLAY_FLAG 4 |
#define | SSPI_GSS_C_SEQUENCE_FLAG 8 |
#define | SSPI_GSS_C_CONF_FLAG 16 |
#define | SSPI_GSS_C_INTEG_FLAG 32 |
#define | FLAG_SENDER_IS_ACCEPTOR 0x01 |
#define | FLAG_WRAP_CONFIDENTIAL 0x02 |
#define | FLAG_ACCEPTOR_SUBKEY 0x04 |
#define | KG_USAGE_ACCEPTOR_SEAL 22 |
#define | KG_USAGE_ACCEPTOR_SIGN 23 |
#define | KG_USAGE_INITIATOR_SEAL 24 |
#define | KG_USAGE_INITIATOR_SIGN 25 |
#define | TOK_ID_AP_REQ 0x0100 |
#define | TOK_ID_AP_REP 0x0200 |
#define | TOK_ID_ERROR 0x0300 |
#define | TOK_ID_TGT_REQ 0x0400 |
#define | TOK_ID_TGT_REP 0x0401 |
#define | TOK_ID_MIC 0x0404 |
#define | TOK_ID_WRAP 0x0504 |
#define | TOK_ID_MIC_V1 0x0101 |
#define | TOK_ID_WRAP_V1 0x0201 |
#define | GSS_CHECKSUM_TYPE 0x8003 |
Functions | |
static INLINE BOOL | sspi_gss_oid_compare (const WinPrAsn1_OID *oid1, const WinPrAsn1_OID *oid2) |
BOOL | sspi_gss_wrap_token (SecBuffer *buf, const WinPrAsn1_OID *oid, uint16_t tok_id, const sspi_gss_data *token) |
BOOL | sspi_gss_unwrap_token (const SecBuffer *buf, WinPrAsn1_OID *oid, uint16_t *tok_id, sspi_gss_data *token) |
#define FLAG_ACCEPTOR_SUBKEY 0x04 |
#define FLAG_SENDER_IS_ACCEPTOR 0x01 |
#define FLAG_WRAP_CONFIDENTIAL 0x02 |
#define GSS_CHECKSUM_TYPE 0x8003 |
#define KG_USAGE_ACCEPTOR_SEAL 22 |
#define KG_USAGE_ACCEPTOR_SIGN 23 |
#define KG_USAGE_INITIATOR_SEAL 24 |
#define KG_USAGE_INITIATOR_SIGN 25 |
#define SSPI_GSS_C_CONF_FLAG 16 |
#define SSPI_GSS_C_DELEG_FLAG 1 |
#define SSPI_GSS_C_INTEG_FLAG 32 |
#define SSPI_GSS_C_MUTUAL_FLAG 2 |
#define SSPI_GSS_C_REPLAY_FLAG 4 |
#define SSPI_GSS_C_SEQUENCE_FLAG 8 |
#define TOK_ID_AP_REP 0x0200 |
#define TOK_ID_AP_REQ 0x0100 |
#define TOK_ID_ERROR 0x0300 |
#define TOK_ID_MIC 0x0404 |
#define TOK_ID_MIC_V1 0x0101 |
#define TOK_ID_TGT_REP 0x0401 |
#define TOK_ID_TGT_REQ 0x0400 |
#define TOK_ID_WRAP 0x0504 |
#define TOK_ID_WRAP_V1 0x0201 |
|
static |
BOOL sspi_gss_unwrap_token | ( | const SecBuffer * | buf, |
WinPrAsn1_OID * | oid, | ||
uint16_t * | tok_id, | ||
sspi_gss_data * | token | ||
) |
BOOL sspi_gss_wrap_token | ( | SecBuffer * | buf, |
const WinPrAsn1_OID * | oid, | ||
uint16_t | tok_id, | ||
const sspi_gss_data * | token | ||
) |
FreeRDP: A Remote Desktop Protocol Implementation Generic Security Service Application Program Interface (GSSAPI)
Copyright 2015 ANSSI, Author Thomas Calderon Copyright 2015 Marc-Andre Moreau marca Copyright 2017 Dorian Ducournau ndre .more au@g mail. comdoria n.du courn au@g mail. 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.