Home
last modified time | relevance | path

Searched refs:user_pass (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp510 CFX_ByteString user_pass = GetUserPassword(password, pass_size, key_len); in CheckOwnerPassword() local
511 if (CheckUserPassword(user_pass.raw_str(), user_pass.GetLength(), false, key, in CheckOwnerPassword()
515 return CheckUserPassword(user_pass.raw_str(), user_pass.GetLength(), true, in CheckOwnerPassword()
525 const uint8_t* user_pass, in OnCreate() argument
536 owner_pass = user_pass; in OnCreate()
547 AES256_SetPassword(pEncryptDict, user_pass, user_size, false, m_EncryptKey); in OnCreate()
572 passcode[i] = i < user_size ? user_pass[i] : defpasscode[i - user_size]; in OnCreate()
586 CalcEncryptKey(m_pEncryptDict, (uint8_t*)user_pass, user_size, m_EncryptKey, in OnCreate()
619 const uint8_t* user_pass, in OnCreate() argument
624 OnCreate(pEncryptDict, pIdArray, user_pass, user_size, owner_pass, owner_size, in OnCreate()
[all …]
Dcpdf_security_handler.h38 const uint8_t* user_pass,
46 const uint8_t* user_pass,
91 const uint8_t* user_pass,
/external/pdfium/core/fpdfapi/edit/
Dfpdf_edit_create.cpp1935 CFX_ByteString user_pass = m_pParser->GetPassword(); in InitID() local
1938 handler.OnCreate(m_pEncryptDict, m_pIDArray.get(), user_pass.raw_str(), in InitID()
1939 user_pass.GetLength(), flag); in InitID()
/external/python/cpython2/Lib/
Durllib2.py760 user_pass = '%s:%s' % (unquote(user), unquote(password))
761 creds = base64.b64encode(user_pass).strip()