Lines Matching defs:pbTokenData

59 //    [in]  pbTokenData       -  Binary Token Data
74 int spnegoInitFromBinary( unsigned char* pbTokenData, unsigned long ulLength, SPNEGO_TOKEN_HANDLE* phSpnegoToken )
83 SPNEGO_TOKEN_INTERNAL_FLAGS_FREEDATA, pbTokenData,
128 unsigned char* pbTokenData = NULL;
151 pbTokenData = calloc( 1, nTokenLength );
153 if ( NULL == pbTokenData )
159 pbMechListMIC = pbTokenData + (nTokenLength - ulMechListMICLen);
171 pbTokenData,
175 free( pbTokenData );
183 pbTokenData, nTokenLength, ppSpnegoToken );
187 free( pbTokenData );
229 unsigned char* pbTokenData = NULL;
244 pbTokenData = calloc( 1, nTokenLength );
246 if ( NULL != pbTokenData )
253 ulMechListMICLen, pbTokenData,
262 pbTokenData, nTokenLength, ppSpnegoToken );
269 free( pbTokenData );
319 unsigned char* pbTokenData = NULL;
346 pbTokenData = calloc( 1, nTokenLength );
348 if ( NULL != pbTokenData )
355 ulMechListMICLen, pbTokenData,
364 pbTokenData, nTokenLength, ppSpnegoToken );
371 free( pbTokenData );
394 // [out] pbTokenData - Buffer to copy token into
395 // [in/out] pulDataLen - Length of pbTokenData buffer, filled out
404 // supplied buffer. If pbTokenData is NULL, or the value in pulDataLen
410 int spnegoTokenGetBinary( SPNEGO_TOKEN_HANDLE hSpnegoToken, unsigned char* pbTokenData,
416 // Check parameters - pbTokenData is optional
422 if ( NULL == pbTokenData ||
430 memcpy( pbTokenData, pSpnegoToken->pbBinaryData, pSpnegoToken->ulBinaryDataLen );
756 // [out] pbTokenData - Buffer to copy MechToken into
757 // [in/out] pulDataLen - Length of pbTokenData buffer, filled out
768 // underlying token into the buffer pointed to by pbTokenData. If
769 // pbTokenData is NULL, or the value in pulDataLen is too small, the
776 int spnegoGetMechToken( SPNEGO_TOKEN_HANDLE hSpnegoToken, unsigned char* pbTokenData, unsigned long* pulDataLen )
801 if ( NULL == pbTokenData ||
810 memcpy( pbTokenData, pSpnegoElement->pbData, pSpnegoElement->nDatalength );
832 // [out] pbTokenData - Buffer to copy MechListMIC data into
833 // [in/out] pulDataLen - Length of pbTokenData buffer, filled out
843 // into the buffer pointed to by pbTokenData. If pbTokenData is NULL,