Lines Matching refs:contentType
141 FwdLockConv_String_t contentType;
474 if (pSession->contentType.ptr == NULL) {
503 if (pSession->contentType.ptr == NULL) {
505 pSession->contentType.ptr = malloc(sizeof strTextPlain);
506 if (pSession->contentType.ptr == NULL) {
509 memcpy(pSession->contentType.ptr, strTextPlain, sizeof strTextPlain);
510 pSession->contentType.length = strlenTextPlain;
511 pSession->contentType.maxLength = strlenTextPlain;
529 if (pSession->contentType.ptr == NULL) {
531 } else if (strcmp(pSession->contentType.ptr, strApplicationVndOmaDrmRightsXml) == 0 ||
532 strcmp(pSession->contentType.ptr, strApplicationVndOmaDrmContent) == 0) {
551 if (pSession->contentType.length > UCHAR_MAX) {
559 size_t encryptedSessionKeyPos = TOP_HEADER_SIZE + pSession->contentType.length;
565 (unsigned char)pSession->contentType.length;
568 pSession->contentType.ptr, pSession->contentType.length);
632 status = FwdLockConv_StringAppend(&pSession->contentType, tolower(ch));
642 status = FwdLockConv_StringAppend(&pSession->contentType, tolower(ch));
1147 pSession->contentType = nullString;
1222 HMAC_Update(&pSession->signingContext, (unsigned char *)pSession->contentType.ptr,
1223 pSession->contentType.length);
1234 pSession->contentType.length + pSession->encryptedSessionKeyLength;
1241 free(pSession->contentType.ptr);