Lines Matching refs:FX_BSTRC
19 int revision = pEncrypt->GetInteger(FX_BSTRC("R"));
27 CFX_ByteString okey = pEncrypt->GetString(FX_BSTRC("O"));
29 FX_DWORD perm = pEncrypt->GetInteger(FX_BSTRC("P"));
35 if (!bIgnoreMeta && revision >= 3 && !pEncrypt->GetInteger(FX_BSTRC("EncryptMetadata"), 1)) {
108 int Version = pEncryptDict->GetInteger(FX_BSTRC("V"));
109 int Revision = pEncryptDict->GetInteger(FX_BSTRC("R"));
113 CPDF_Dictionary* pCryptFilters = pEncryptDict->GetDict(FX_BSTRC("CF"));
117 if (name == FX_BSTRC("Identity")) {
126 nKeyBits = pDefFilter->GetInteger(FX_BSTRC("Length"), 0);
128 nKeyBits = pEncryptDict->GetInteger(FX_BSTRC("Length"), 128);
131 nKeyBits = pEncryptDict->GetInteger(FX_BSTRC("Length"), 256);
137 CFX_ByteString cipher_name = pDefFilter->GetString(FX_BSTRC("CFM"));
138 if (cipher_name == FX_BSTRC("AESV2") || cipher_name == FX_BSTRC("AESV3")) {
143 keylen = Version > 1 ? pEncryptDict->GetInteger(FX_BSTRC("Length"), 40) / 8 : 5;
154 m_Version = pEncryptDict->GetInteger(FX_BSTRC("V"));
155 m_Revision = pEncryptDict->GetInteger(FX_BSTRC("R"));
156 m_Permissions = pEncryptDict->GetInteger(FX_BSTRC("P"), -1);
160 CFX_ByteString stmf_name = pEncryptDict->GetString(FX_BSTRC("StmF"));
161 CFX_ByteString strf_name = pEncryptDict->GetString(FX_BSTRC("StrF"));
174 m_Version = pEncryptDict->GetInteger(FX_BSTRC("V"));
175 m_Revision = pEncryptDict->GetInteger(FX_BSTRC("R"));
176 m_Permissions = pEncryptDict->GetInteger(FX_BSTRC("P"), -1);
179 stmf_name = pEncryptDict->GetString(FX_BSTRC("StmF"));
180 strf_name = pEncryptDict->GetString(FX_BSTRC("StrF"));
295 CFX_ByteString okey = m_pEncryptDict->GetString(FX_BSTRC("O"));
299 CFX_ByteString ukey = m_pEncryptDict->GetString(FX_BSTRC("U"));
334 CFX_ByteString ekey = m_pEncryptDict->GetString(bOwner ? FX_BSTRC("OE") : FX_BSTRC("UE"));
346 CFX_ByteString perms = m_pEncryptDict->GetString(FX_BSTRC("Perms"));
394 CFX_ByteString ukey = m_pEncryptDict->GetString(FX_BSTRC("U"));
438 CFX_ByteString okey = m_pEncryptDict->GetString(FX_BSTRC("O"));
492 return m_pEncryptDict->GetBoolean(FX_BSTRC("EncryptMetadata"), TRUE);
521 AES256_SetPerms(pEncryptDict, m_Permissions, pEncryptDict->GetBoolean(FX_BSTRC("EncryptMetadata"), TRUE), m_EncryptKey);
553 pEncryptDict->SetAtString(FX_BSTRC("O"), CFX_ByteString(passcode, 32));
560 pEncryptDict->SetAtString(FX_BSTRC("U"), CFX_ByteString(tempbuf, 32));
580 pEncryptDict->SetAtString(FX_BSTRC("U"), CFX_ByteString(digest, 32));
601 CFX_ByteString ukey = pEncryptDict->GetString(FX_BSTRC("U"));
615 pEncryptDict->SetAtString(bOwner ? FX_BSTRC("O") : FX_BSTRC("U"), CFX_ByteString(digest1, 48));
634 pEncryptDict->SetAtString(bOwner ? FX_BSTRC("OE") : FX_BSTRC("UE"), CFX_ByteString(digest1, 32));
659 pEncryptDict->SetAtString(FX_BSTRC("Perms"), CFX_ByteString(buf1, 16));