Lines Matching defs:pszErrorTag

68                                               const char *pszErrorTag)
78 pPrimaryCursor->Cursor.pszErrorTag = pszErrorTag;
85 RTDECL(int) RTAsn1CursorInitSub(PRTASN1CURSOR pParent, uint32_t cb, PRTASN1CURSOR pChild, const char *pszErrorTag)
99 pChild->pszErrorTag = pszErrorTag;
110 PRTASN1CURSOR pChild, const char *pszErrorTag)
124 pChild->pszErrorTag = pszErrorTag;
163 if (pCursor->pszErrorTag)
165 size_t cchErrorTag = strlen(pCursor->pszErrorTag);
169 memcpy(pszBuf, pCursor->pszErrorTag, cchErrorTag);
213 RTDECL(int) RTAsn1CursorReadHdr(PRTASN1CURSOR pCursor, PRTASN1CORE pAsn1Core, const char *pszErrorTag)
243 "%s: Implement parsing of tags > 30: %#x (length=%#x)", pszErrorTag, uTag, cb);
255 pszErrorTag, cbEnc, pCursor->cbLeft, uTag);
273 pszErrorTag, cbEnc, uTag);
285 pszErrorTag, cbEnc, cb, uTag);
294 pszErrorTag, cb, uTag, cbEnc, cbNeeded);
300 "%s: Indefinite length form not allowed in DER mode (uTag=%#x).", pszErrorTag, uTag);
303 "%s: Indefinite BER/CER length not supported (uTag=%#x)", pszErrorTag, uTag);
310 pszErrorTag, cb, pCursor->cbLeft, uTag);
320 "%s: Too little data left to form a valid BER header", pszErrorTag);
322 "%s: No more data reading BER header", pszErrorTag);
327 bool fString, uint32_t fFlags, const char *pszErrorTag, const char *pszWhat)
344 pszErrorTag, pszWhat, pAsn1Core->cb, pAsn1Core->uTag, pAsn1Core->fClass);
348 pszErrorTag, pszWhat, pAsn1Core->cb, pAsn1Core->uTag, pAsn1Core->fClass);
362 pszErrorTag, pszWhat, pAsn1Core->uTag, pAsn1Core->fClass, uTag, fClass);
369 const char *pszErrorTag, const char *pszWhat)
371 int rc = RTAsn1CursorReadHdr(pCursor, pAsn1Core, pszErrorTag);
387 pszErrorTag, pszWhat, pAsn1Core->uTag, pAsn1Core->fClass, uTag, fClass);
388 rc = RTAsn1CursorInitSub(pCursor, pAsn1Core->cb, pRetCursor, pszErrorTag);
400 PRTASN1SEQUENCECORE pSeqCore, PRTASN1CURSOR pSeqCursor, const char *pszErrorTag)
403 &pSeqCore->Asn1Core, pSeqCursor, pszErrorTag, "sequence");
408 PRTASN1SETCORE pSetCore, PRTASN1CURSOR pSetCursor, const char *pszErrorTag)
411 &pSetCore->Asn1Core, pSetCursor, pszErrorTag, "set");
416 PRTASN1CONTEXTTAG pCtxTag, PRTASN1CURSOR pCtxTagCursor, const char *pszErrorTag)
419 &pCtxTag->Asn1Core, pCtxTagCursor, pszErrorTag, "ctx tag");
452 RTDECL(int) RTAsn1CursorGetCore(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1CORE pAsn1Core, const char *pszErrorTag)
454 return RTAsn1Core_DecodeAsn1(pCursor, fFlags, pAsn1Core, pszErrorTag);
458 RTDECL(int) RTAsn1CursorGetNull(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1NULL pNull, const char *pszErrorTag)
460 return RTAsn1Null_DecodeAsn1(pCursor, fFlags, pNull, pszErrorTag);
464 RTDECL(int) RTAsn1CursorGetInteger(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1INTEGER pInteger, const char *pszErrorTag)
466 return RTAsn1Integer_DecodeAsn1(pCursor, fFlags, pInteger, pszErrorTag);
470 RTDECL(int) RTAsn1CursorGetBoolean(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1BOOLEAN pBoolean, const char *pszErrorTag)
472 return RTAsn1Boolean_DecodeAsn1(pCursor, fFlags, pBoolean, pszErrorTag);
476 RTDECL(int) RTAsn1CursorGetObjId(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1OBJID pObjId, const char *pszErrorTag)
478 return RTAsn1ObjId_DecodeAsn1(pCursor, fFlags, pObjId, pszErrorTag);
482 RTDECL(int) RTAsn1CursorGetTime(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1TIME pTime, const char *pszErrorTag)
484 return RTAsn1Time_DecodeAsn1(pCursor, fFlags, pTime, pszErrorTag);
489 const char *pszErrorTag)
491 return RTAsn1BitString_DecodeAsn1Ex(pCursor, fFlags, cMaxBits, pBitString, pszErrorTag);
495 RTDECL(int) RTAsn1CursorGetBitString(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1BITSTRING pBitString, const char *pszErrorTag)
497 return RTAsn1BitString_DecodeAsn1(pCursor, fFlags, pBitString, pszErrorTag);
502 const char *pszErrorTag)
504 return RTAsn1OctetString_DecodeAsn1(pCursor, fFlags, pOctetString, pszErrorTag);
508 RTDECL(int) RTAsn1CursorGetString(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1STRING pString, const char *pszErrorTag)
510 return RTAsn1String_DecodeAsn1(pCursor, fFlags, pString, pszErrorTag);
514 RTDECL(int) RTAsn1CursorGetIa5String(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1STRING pString, const char *pszErrorTag)
516 return RTAsn1Ia5String_DecodeAsn1(pCursor, fFlags, pString, pszErrorTag);
520 RTDECL(int) RTAsn1CursorGetUtf8String(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1STRING pString, const char *pszErrorTag)
522 return RTAsn1Utf8String_DecodeAsn1(pCursor, fFlags, pString, pszErrorTag);
526 RTDECL(int) RTAsn1CursorGetBmpString(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1STRING pString, const char *pszErrorTag)
528 return RTAsn1BmpString_DecodeAsn1(pCursor, fFlags, pString, pszErrorTag);
532 RTDECL(int) RTAsn1CursorGetDynType(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1DYNTYPE pDynType, const char *pszErrorTag)
534 return RTAsn1DynType_DecodeAsn1(pCursor, fFlags, pDynType, pszErrorTag);