Home
last modified time | relevance | path

Searched refs:ExportKey (Results 1 – 7 of 7) sorted by relevance

/system/keymaster/include/keymaster/
Dandroid_keymaster.h72 void ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response);
/system/security/keystore/
Dkeystore_cli_v2.cpp299 int ExportKey(const std::string& name) { in ExportKey() function
445 return ExportKey(command_line->GetSwitchValueASCII("name")); in main()
/system/keymaster/
Dandroid_keymaster_test.cpp1200 EXPECT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &pubkey)); in TEST_P()
1301 EXPECT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &pubkey)); in TEST_P()
1697 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1710 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1725 ASSERT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_PKCS8, &export_data)); in TEST_P()
1738 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1748 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_X509, &export_data)); in TEST_P()
1749 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_PKCS8, &export_data)); in TEST_P()
1750 EXPECT_EQ(KM_ERROR_UNSUPPORTED_KEY_FORMAT, ExportKey(KM_KEY_FORMAT_RAW, &export_data)); in TEST_P()
2005 ASSERT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &exported)); in TEST_P()
Dandroid_keymaster.cpp358 void AndroidKeymaster::ExportKey(const ExportKeyRequest& request, ExportKeyResponse* response) { in ExportKey() function in keymaster::AndroidKeymaster
Dandroid_keymaster_test_utils.h189 keymaster_error_t ExportKey(keymaster_key_format_t format, std::string* export_data);
Dandroid_keymaster_test_utils.cpp612 keymaster_error_t Keymaster2Test::ExportKey(keymaster_key_format_t format, string* export_data) { in ExportKey() function in keymaster::test::Keymaster2Test
Dsoft_keymaster_device.cpp1015 convert_device(dev)->impl_->ExportKey(request, &response); in export_key()