Lines Matching defs:pbTokenData

217 //    [out] pbTokenData             -  Buffer to write token into.
218 // [in] nTokenLength - Length of pbTokenData buffer
227 // Uses DER to fill out pbTokenData with a SPNEGO NegTokenInit Token
247 unsigned long ulMechListMICLen, unsigned char* pbTokenData,
257 unsigned char* pbWriteTokenData = pbTokenData + nTokenLength;
436 pbWriteTokenData == pbTokenData )
598 // [out] pbTokenData - Buffer to write token into.
599 // [in] nTokenLength - Length of pbTokenData buffer
608 // Uses DER to fill out pbTokenData with a SPNEGO NegTokenTarg Token
619 unsigned long ulMechListMICLen, unsigned char* pbTokenData,
635 unsigned char* pbWriteTokenData = pbTokenData + nTokenLength;
772 pbWriteTokenData == pbTokenData )
794 // [in] pbTokenData - Binary token data.
795 // [in] ulTokenSize - Size of pbTokenData.
810 unsigned char * pbTokenData, unsigned long ulTokenSize )
842 memcpy( pSpnegoToken->pbBinaryData, pbTokenData, ulTokenSize );
857 pSpnegoToken->pbBinaryData = pbTokenData;
967 unsigned char* pbTokenData = pSpnegoToken->pbBinaryData;
973 if ( SPNEGO_NEGINIT_APP_CONSTRUCT == *pbTokenData )
977 if ( ( nReturn = ASNDerCheckToken( pbTokenData, SPNEGO_NEGINIT_APP_CONSTRUCT, 0L, nBoundaryLength,
988 pbTokenData += nActualTokenLength;
992 if ( ( nReturn = ASNDerCheckOID( pbTokenData, spnego_mech_oid_Spnego, nBoundaryLength,
996 pbTokenData += nActualTokenLength;
1001 if ( ( nReturn = ASNDerCheckToken( pbTokenData, SPNEGO_NEGINIT_TOKEN_IDENTIFIER,
1007 pbTokenData += nActualTokenLength;
1012 if ( ( nReturn = ASNDerCheckToken( pbTokenData, SPNEGO_CONSTRUCTED_SEQUENCE,
1023 *ppbFirstElement = pbTokenData + nActualTokenLength;
1036 else if ( SPNEGO_NEGTARG_TOKEN_IDENTIFIER == *pbTokenData )
1040 if ( ( nReturn = ASNDerCheckToken( pbTokenData, SPNEGO_NEGTARG_TOKEN_IDENTIFIER,
1052 pbTokenData += nActualTokenLength;
1056 if ( ( nReturn = ASNDerCheckToken( pbTokenData, SPNEGO_CONSTRUCTED_SEQUENCE,
1067 *ppbFirstElement = pbTokenData + nActualTokenLength;
1085 // [in] pbTokenData - Points to binary MechList element
1096 // Checks that pbTokenData is pointing at something that at least
1102 int GetSpnegoInitTokenMechList( unsigned char* pbTokenData, int nMechListLength,
1110 if ( ( nReturn = ASNDerCheckToken( pbTokenData, SPNEGO_CONSTRUCTED_SEQUENCE,
1117 pbTokenData += nActualTokenLength;
1122 if ( ( nReturn = ValidateMechList( pbTokenData, nLength ) ) == SPNEGO_E_SUCCESS )
1129 pSpnegoElement->pbData = pbTokenData;
1143 // [in] pbTokenData - Points to binary element data in
1155 // Checks that pbTokenData is pointing at the specified DER type. If so,
1161 int InitSpnegoTokenElementFromBasicType( unsigned char* pbTokenData, int nElementLength,
1171 if ( *pbTokenData == ucExpectedType )
1175 if ( ( nReturn = ASNDerCheckToken( pbTokenData, ucExpectedType,
1182 pbTokenData += nActualTokenLength;
1189 pSpnegoElement->pbData = pbTokenData;
1204 // [in] pbTokenData - Points to binary element data in
1222 int InitSpnegoTokenElementFromOID( unsigned char* pbTokenData, int nElementLength,
1231 if ( *pbTokenData == OID )
1235 if ( ( nReturn = ASNDerCheckToken( pbTokenData, OID,
1247 pSpnegoElement->pbData = pbTokenData;
1263 // [in] pbTokenData - Points to initial binary element
1272 // Interprets the data at pbTokenData based on the TokenType in
1279 int InitSpnegoTokenElements( SPNEGO_TOKEN* pSpnegoToken, unsigned char* pbTokenData,
1331 if ( ( nReturn = ASNDerCheckToken( pbTokenData, pbElements[nCtr],
1339 pbTokenData += nActualTokenLength;
1359 nReturn = GetSpnegoInitTokenMechList( pbTokenData, nElementLength,
1372 nReturn = InitSpnegoTokenElementFromBasicType( pbTokenData, nElementLength,
1385 nReturn = InitSpnegoTokenElementFromBasicType( pbTokenData, nElementLength,
1402 nReturn = InitSpnegoTokenElementFromBasicType( pbTokenData, nElementLength,
1410 nReturn = ASNDerCheckToken( pbTokenData, SPNEGO_CONSTRUCTED_SEQUENCE,
1433 nReturn = InitSpnegoTokenElementFromBasicType( pbTokenData, nElementLength,
1445 nReturn = InitSpnegoTokenElementFromOID( pbTokenData, nElementLength,
1458 nReturn = InitSpnegoTokenElementFromBasicType( pbTokenData, nElementLength,
1471 nReturn = InitSpnegoTokenElementFromBasicType( pbTokenData, nElementLength,
1485 pbTokenData += nElementLength;
1833 unsigned char* pbTokenData, unsigned long ulLength,
1844 if ( NULL != pbTokenData &&
1853 pSpnegoToken = AllocEmptySpnegoToken( ucCopyData, ulFlags, pbTokenData, ulLength );