Lines Matching defs:contentType
142 FwdLockConv_String_t contentType;
475 if (pSession->contentType.ptr == NULL) {
504 if (pSession->contentType.ptr == NULL) {
506 pSession->contentType.ptr = malloc(sizeof strTextPlain);
507 if (pSession->contentType.ptr == NULL) {
510 memcpy(pSession->contentType.ptr, strTextPlain, sizeof strTextPlain);
511 pSession->contentType.length = strlenTextPlain;
512 pSession->contentType.maxLength = strlenTextPlain;
530 if (pSession->contentType.ptr == NULL) {
532 } else if (strcmp(pSession->contentType.ptr, strApplicationVndOmaDrmRightsXml) == 0 ||
533 strcmp(pSession->contentType.ptr, strApplicationVndOmaDrmContent) == 0) {
552 if (pSession->contentType.length > UCHAR_MAX) {
560 size_t encryptedSessionKeyPos = TOP_HEADER_SIZE + pSession->contentType.length;
566 (unsigned char)pSession->contentType.length;
569 pSession->contentType.ptr, pSession->contentType.length);
633 status = FwdLockConv_StringAppend(&pSession->contentType, tolower(ch));
643 status = FwdLockConv_StringAppend(&pSession->contentType, tolower(ch));
1148 pSession->contentType = nullString;
1223 HMAC_Update(&pSession->signingContext, (unsigned char *)pSession->contentType.ptr,
1224 pSession->contentType.length);
1235 pSession->contentType.length + pSession->encryptedSessionKeyLength;
1242 free(pSession->contentType.ptr);