/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/platform_keys/ |
H A D | extension_platform_keys_service.cc | 83 GenerateKeyTask(platform_keys::TokenId token_id, in GenerateKeyTask() 104 platform_keys::TokenId token_id_; 138 platform_keys::Status status) { in GeneratedKey() 269 platform_keys::KeyType key_type, in SignTask() 401 case platform_keys::KeyType::kEcdsa: { in Sign() 425 const platform_keys::KeyType key_type_; 646 platform_keys::IntersectCertificates( in IntersectWithInputCerts() 767 platform_keys::TokenId token_id, in GenerateRSAKey() 777 platform_keys::TokenId token_id, in GenerateECKey() 795 platform_keys::KeyType key_type, in SignDigest() [all …]
|
H A D | extension_platform_keys_service.h | 98 platform_keys::Status status)>; 106 void GenerateRSAKey(platform_keys::TokenId token_id, 117 void GenerateECKey(platform_keys::TokenId token_id, 144 void SignDigest(base::Optional<platform_keys::TokenId> token_id, 147 platform_keys::KeyType key_type, 148 platform_keys::HashAlgorithm hash_algorithm, 164 void SignRSAPKCS1Raw(base::Optional<platform_keys::TokenId> token_id, 175 platform_keys::Status status)>; 192 const platform_keys::ClientCertificateRequest& request, 225 platform_keys::Status status); [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/api/enterprise_platform_keys/ |
H A D | enterprise_platform_keys_api_ash.cc | 95 chromeos::platform_keys::Status status) { in OnGeneratedKey() 97 if (status == chromeos::platform_keys::Status::kSuccess) { in OnGeneratedKey() 131 chromeos::platform_keys::Status status) { in OnGotCertificates() 133 if (status != chromeos::platform_keys::Status::kSuccess) { in OnGotCertificates() 191 chromeos::platform_keys::Status status) { in OnImportedCertificate() 193 if (status == chromeos::platform_keys::Status::kSuccess) in OnImportedCertificate() 238 chromeos::platform_keys::Status status) { in OnRemovedCertificate() 240 if (status == chromeos::platform_keys::Status::kSuccess) in OnRemovedCertificate() 266 chromeos::platform_keys::Status status) { in OnGotTokens() 268 if (status != chromeos::platform_keys::Status::kSuccess) { in OnGotTokens() [all …]
|
H A D | enterprise_platform_keys_api_ash.h | 33 chromeos::platform_keys::Status status); 47 chromeos::platform_keys::Status status); 60 void OnImportedCertificate(chromeos::platform_keys::Status status); 73 void OnRemovedCertificate(chromeos::platform_keys::Status status); 88 std::unique_ptr<std::vector<chromeos::platform_keys::TokenId>> token_ids, 89 chromeos::platform_keys::Status status);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/cert_provisioning/ |
H A D | cert_provisioning_platform_keys_helpers.h | 17 namespace platform_keys { 32 base::OnceCallback<void(platform_keys::Status status)>; 56 platform_keys::Status status); 60 void StopIteration(platform_keys::Status status); 78 platform_keys::Status status)>; 102 platform_keys::Status status); 103 void OnIterationFinished(platform_keys::Status status); 142 platform_keys::Status status); 146 void OnDeleteCertDone(platform_keys::Status status); 147 void OnIterationFinished(platform_keys::Status status); [all …]
|
H A D | cert_provisioning_platform_keys_helpers.cc | 53 platform_keys::Status status) { in OnGetCertificatesDone() 56 if (status != platform_keys::Status::kSuccess) { in OnGetCertificatesDone() 82 platform_keys::Status status) { in OnGetAttributeForKeyDone() 91 if (status != platform_keys::Status::kSuccess) { in OnGetAttributeForKeyDone() 103 StopIteration(platform_keys::Status::kSuccess); in OnGetAttributeForKeyDone() 151 platform_keys::Status status) { in ProcessOneCert() 154 if (status != platform_keys::Status::kSuccess) { in ProcessOneCert() 173 platform_keys::Status status) { in OnIterationFinished() 179 if (status != platform_keys::Status::kSuccess) { in OnIterationFinished() 225 if (status != platform_keys::Status::kSuccess) { in ProcessOneCert() [all …]
|
H A D | cert_provisioning_platform_keys_helpers_unittest.cc | 51 platform_keys::MockPlatformKeysService platform_keys_service_; 75 platform_keys::Status status)); 155 const platform_keys::Status kErrorStatus = in TEST_F() 156 platform_keys::Status::kErrorInternal; in TEST_F() 192 platform_keys::Status GetStatus() const { return status_; } in GetStatus() 205 platform_keys::Status status_ = platform_keys::Status::kSuccess; 307 platform_keys::Status GetStatus() { return status_; } in GetStatus() 311 void Callback(platform_keys::Status status) { in Callback() 317 platform_keys::Status status_; 394 const platform_keys::Status kErrorStatus = in TEST_F() [all …]
|
H A D | cert_provisioning_test_helpers.cc | 46 platform_keys::MockPlatformKeysService* platform_keys_service) in CertificateHelperForTesting() 59 platform_keys::TokenId token_id, in GetCertificates() 60 platform_keys::GetCertificatesCallback callback) { in GetCertificates() 63 std::move(callback).Run(std::move(result), platform_keys::Status::kSuccess); in GetCertificates() 69 platform_keys::Status status, in AddCert() 81 platform_keys::GetSubjectPublicKeyInfo(cert), in AddCert() 82 platform_keys::KeyAttributeType::kCertificateProvisioningId, _)) in AddCert() 96 return AddCert(cert_scope, cert_profile_id, platform_keys::Status::kSuccess, in AddCert() 103 platform_keys::Status status) { in AddCert()
|
H A D | cert_provisioning_worker_unittest.cc | 102 constexpr platform_keys::HashAlgorithm kPkHashAlgo = 103 platform_keys::HashAlgorithm::HASH_ALGORITHM_SHA256; 394 &platform_keys:: in Init() 397 platform_keys::KeyPermissionsManagerImpl:: in Init() 514 platform_keys::TokenId::kUser, GetPublicKey(), in TEST_F() 592 platform_keys::TokenId::kUser, GetPublicKey(), in TEST_F() 791 platform_keys::TokenId::kUser, GetPublicKey(), in TEST_F() 913 platform_keys::TokenId::kUser, GetPublicKey(), in TEST_F() 1208 platform_keys::TokenId::kUser, GetPublicKey(), in TEST_F() 1216 RemoveKey(platform_keys::TokenId::kUser, in TEST_F() [all …]
|
H A D | cert_provisioning_test_helpers.h | 31 platform_keys::MockPlatformKeysService* platform_keys_service); 43 platform_keys::Status status, 58 platform_keys::Status status); 64 void GetCertificates(platform_keys::TokenId token_id, 65 platform_keys::GetCertificatesCallback callback); 67 platform_keys::MockPlatformKeysService* platform_keys_service_ = nullptr;
|
H A D | cert_provisioning_worker.cc | 117 if (status != platform_keys::Status::kSuccess) { in OnAllowKeyForUsageDone() 119 << platform_keys::StatusToString(status); in OnAllowKeyForUsageDone() 364 platform_keys::Status status) { in OnGenerateRegularKeyDone() 365 if (status != platform_keys::Status::kSuccess || in OnGenerateRegularKeyDone() 368 << platform_keys::StatusToString(status); in OnGenerateRegularKeyDone() 549 if (status != platform_keys::Status::kSuccess) { in OnMarkKeyDone() 583 if (status != platform_keys::Status::kSuccess) { in OnSignCsrDone() 657 platform_keys::GetSubjectPublicKeyInfo(cert); in ImportCert() 671 platform_keys::Status status) { in OnImportCertDone() 674 if (status != platform_keys::Status::kSuccess) { in OnImportCertDone() [all …]
|
H A D | cert_provisioning_common.cc | 192 platform_keys::TokenId GetPlatformKeysTokenId(CertScope scope) { in GetPlatformKeysTokenId() 195 return platform_keys::TokenId::kUser; in GetPlatformKeysTokenId() 197 return platform_keys::TokenId::kSystem; in GetPlatformKeysTokenId() 233 platform_keys::PlatformKeysService* GetPlatformKeysService(CertScope scope, in GetPlatformKeysService() 237 return platform_keys::PlatformKeysServiceFactory::GetForBrowserContext( in GetPlatformKeysService() 240 return platform_keys::PlatformKeysServiceFactory::GetInstance() in GetPlatformKeysService() 245 platform_keys::KeyPermissionsManager* GetKeyPermissionsManager( in GetKeyPermissionsManager() 250 return platform_keys::KeyPermissionsManagerImpl:: in GetKeyPermissionsManager() 253 return platform_keys::KeyPermissionsManagerImpl:: in GetKeyPermissionsManager()
|
H A D | cert_provisioning_scheduler.h | 105 public platform_keys::PlatformKeysServiceObserver { 119 platform_keys::PlatformKeysService* platform_keys_service, 156 void OnDeleteCertsWithoutPolicyDone(platform_keys::Status status); 169 platform_keys::Status status); 219 platform_keys::PlatformKeysService* platform_keys_service_ = nullptr; 250 ScopedObserver<platform_keys::PlatformKeysService, 251 platform_keys::PlatformKeysServiceObserver>
|
H A D | cert_provisioning_worker.h | 138 platform_keys::Status status); 164 void OnMarkKeyDone(platform_keys::Status status); 169 platform_keys::Status status); 184 void OnImportCertDone(platform_keys::Status status); 215 void OnRemoveKeyDone(platform_keys::Status status); 256 base::Optional<platform_keys::HashAlgorithm> hashing_algorithm_; 269 platform_keys::PlatformKeysService* platform_keys_service_ = nullptr;
|
H A D | cert_provisioning_common.h | 27 namespace platform_keys { 121 platform_keys::TokenId GetPlatformKeysTokenId(CertScope scope); 149 platform_keys::PlatformKeysService* GetPlatformKeysService(CertScope scope, 157 platform_keys::KeyPermissionsManager* GetKeyPermissionsManager(
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/api/platform_keys/ |
H A D | platform_keys_api.cc | 31 namespace api_pk = api::platform_keys; 95 namespace platform_keys { namespace 107 return chromeos::platform_keys::TokenId::kUser; in ApiIdToPlatformKeysTokenId() 110 return chromeos::platform_keys::TokenId::kSystem; in ApiIdToPlatformKeysTokenId() 118 case chromeos::platform_keys::TokenId::kUser: in PlatformKeysTokenIdToApiId() 120 case chromeos::platform_keys::TokenId::kSystem: in PlatformKeysTokenIdToApiId() 394 chromeos::platform_keys::HashAlgorithm hash_algorithm; in Run() 408 chromeos::platform_keys::KeyType key_type; in Run() 412 key_type = chromeos::platform_keys::KeyType::kEcdsa; in Run() 431 chromeos::platform_keys::Status status) { in OnSigned() [all …]
|
H A D | platform_keys_api.h | 21 namespace platform_keys { 28 base::Optional<chromeos::platform_keys::TokenId> ApiIdToPlatformKeysTokenId( 34 chromeos::platform_keys::TokenId platform_keys_token_id); 47 chromeos::platform_keys::Status status); 80 chromeos::platform_keys::Status status);
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/extensions/api/platform_keys/ |
H A D | platform_keys_api.cc | 28 namespace api_pk = api::platform_keys; 85 namespace platform_keys { namespace 131 return RespondNow(Error(platform_keys::kErrorInvalidX509Cert)); in Run() 145 chromeos::platform_keys::GetSubjectPublicKeyInfo(cert_x509); in Run() 183 chromeos::platform_keys::ClientCertificateRequest request; in Run() 263 chromeos::platform_keys::GetSubjectPublicKeyInfo(match); in OnSelectedCertificates() 296 !platform_keys::ValidateToken(params->token_id, in Run() 298 return RespondNow(Error(platform_keys::kErrorInvalidToken)); in Run() 318 chromeos::platform_keys::HashAlgorithm hash_algorithm; in Run() 331 chromeos::platform_keys::KeyType key_type; in Run() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_platform_keys/ |
H A D | enterprise_platform_keys_api.cc | 58 if (!platform_keys::ValidateToken(params->token_id, &platform_keys_token_id)) in Run() 59 return RespondNow(Error(platform_keys::kErrorInvalidToken)); in Run() 112 if (!platform_keys::ValidateToken(params->token_id, &platform_keys_token_id)) in Run() 113 return RespondNow(Error(platform_keys::kErrorInvalidToken)); in Run() 115 chromeos::platform_keys::PlatformKeysService* platform_keys_service = in Run() 159 return RespondNow(Error(platform_keys::kErrorInvalidToken)); in Run() 173 chromeos::platform_keys::PlatformKeysService* platform_keys_service = in Run() 205 return RespondNow(Error(platform_keys::kErrorInvalidToken)); in Run() 219 chromeos::platform_keys::PlatformKeysService* platform_keys_service = in Run() 248 chromeos::platform_keys::PlatformKeysService* platform_keys_service = in Run() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/crosapi/ |
H A D | keystore_service_ash.cc | 23 using TokenId = chromeos::platform_keys::TokenId; 223 chromeos::platform_keys::Status status) { in OnGetTokens() 228 if (status == chromeos::platform_keys::Status::kSuccess) { in OnGetTokens() 243 chromeos::platform_keys::StatusToString(status)); in OnGetTokens() 253 chromeos::platform_keys::Status status) { in OnGetCertificates() 271 chromeos::platform_keys::StatusToString(status)); in OnGetCertificates() 289 chromeos::platform_keys::StatusToString(status)); in OnGenerateKey() 296 chromeos::platform_keys::Status status) { in OnImportCertificate() 298 if (status == chromeos::platform_keys::Status::kSuccess) in OnImportCertificate() 306 chromeos::platform_keys::Status status) { in OnRemoveCertificate() [all …]
|
H A D | keystore_service_ash.h | 60 std::unique_ptr<std::vector<chromeos::platform_keys::TokenId>> 62 chromeos::platform_keys::Status status); 65 chromeos::platform_keys::Status status); 68 chromeos::platform_keys::Status status); 70 chromeos::platform_keys::Status status); 72 chromeos::platform_keys::Status status);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/platform_keys/key_permissions/ |
H A D | fake_user_private_token_kpm_service.h | 19 namespace platform_keys { 29 platform_keys::KeyPermissionsManager* key_permissions_manager); 36 platform_keys::KeyPermissionsManager* key_permissions_manager() override; 40 platform_keys::KeyPermissionsManager* key_permissions_manager_ = nullptr; 45 platform_keys::KeyPermissionsManager* key_permissions_manager,
|
H A D | fake_user_private_token_kpm_service.cc | 14 namespace platform_keys { namespace 18 platform_keys::KeyPermissionsManager* key_permissions_manager) in FakeUserPrivateTokenKeyPermissionsManagerService() 26 platform_keys::KeyPermissionsManager* 35 platform_keys::KeyPermissionsManager* key_permissions_manager, in BuildFakeUserPrivateTokenKeyPermissionsManagerService()
|
H A D | key_permissions_pref_util.cc | 39 const base::DictionaryValue* platform_keys = in GetPrefsEntry() local 41 if (!platform_keys) in GetPrefsEntry() 45 platform_keys->FindKey(public_key_spki_der_b64); in GetPrefsEntry() 57 namespace platform_keys { namespace
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/arc/enterprise/cert_store/ |
H A D | arc_cert_store_bridge_browsertest.cc | 137 chromeos::platform_keys::PlatformKeysServiceFactory::GetInstance() in SetUp() 184 chromeos::platform_keys::PlatformKeysServiceFactory::GetInstance() in TearDown() 223 chromeos::platform_keys::KeyPermissionsService* const in RegisterCorporateKeys() 225 chromeos::platform_keys::KeyPermissionsServiceFactory:: in RegisterCorporateKeys() 232 chromeos::platform_keys::ExtensionKeyPermissionsServiceFactory:: in RegisterCorporateKeys() 277 std::unique_ptr<chromeos::platform_keys::ExtensionKeyPermissionsService> in OnKeyRegisteredForCorporateUsage() 280 chromeos::platform_keys::Status status) { in OnKeyRegisteredForCorporateUsage() 281 ASSERT_EQ(status, chromeos::platform_keys::Status::kSuccess); in OnKeyRegisteredForCorporateUsage() 289 std::unique_ptr<chromeos::platform_keys::ExtensionKeyPermissionsService> in GotPermissionsForExtension()
|