Home
last modified time | relevance | path

Searched refs:docType (Results 1 – 25 of 31) sorted by relevance

12

/hardware/interfaces/identity/aidl/default/
DFakeSecureHardwareProxy.cpp85 bool testCredential, const string& docType, in initializeForUpdate() argument
91 bool initialized = eicProvisioningInitForUpdate(&ctx_, testCredential, docType.c_str(), in initializeForUpdate()
92 docType.size(), encryptedCredentialKeys.data(), in initializeForUpdate()
188 int accessControlProfileCount, const vector<int>& entryCounts, const string& docType, in startPersonalization() argument
197 docType.c_str(), docType.size(), in startPersonalization()
282 const string& docType) { in finishGetCredentialData() argument
289 if (!eicProvisioningFinishGetCredentialData(&ctx_, docType.c_str(), docType.size(), in finishGetCredentialData()
424 uint32_t sessionId, bool testCredential, const string& docType, in initialize() argument
431 eicPresentationInit(&ctx_, sessionId, testCredential, docType.c_str(), docType.size(), in initialize()
488 FakeSecureHardwarePresentationProxy::generateSigningKeyPair(const string& docType, time_t now) { in generateSigningKeyPair() argument
[all …]
DFakeSecureHardwareProxy.h35 bool initializeForUpdate(bool testCredential, const string& docType,
52 const string& docType,
74 optional<vector<uint8_t>> finishGetCredentialData(const string& docType) override;
143 bool initialize(uint32_t sessionId, bool testCredential, const string& docType,
151 optional<pair<vector<uint8_t>, vector<uint8_t>>> generateSigningKeyPair(const string& docType,
180 const vector<uint8_t>& signingKeyBlob, const string& docType,
196 optional<vector<uint8_t>> deleteCredential(const string& docType,
201 optional<vector<uint8_t>> proveOwnership(const string& docType, bool testCredential,
DEicTests.cpp46 string docType = "org.iso.18013.5.1.mDL"; in TEST() local
47 ASSERT_TRUE(provisioningProxy.startPersonalization(0, {1}, docType, 125)); in TEST()
62 optional<vector<uint8_t>> credData = provisioningProxy.finishGetCredentialData(docType); in TEST()
69 ASSERT_TRUE(presentationProxy.initialize(0 /* sessionId */, isTestCredential, docType, in TEST()
/hardware/interfaces/identity/aidl/default/common/
DSecureHardwareProxy.h69 virtual bool initializeForUpdate(bool testCredential, const string& docType,
98 const string& docType,
118 virtual optional<vector<uint8_t>> finishGetCredentialData(const string& docType) = 0;
160 virtual bool initialize(uint32_t sessionId, bool testCredential, const string& docType,
169 const string& docType, time_t now) = 0;
200 const string& docType,
215 virtual optional<vector<uint8_t>> deleteCredential(const string& docType,
220 virtual optional<vector<uint8_t>> proveOwnership(const string& docType, bool testCredential,
DWritableIdentityCredential.h44 WritableIdentityCredential(sp<SecureHardwareProvisioningProxy> hwProxy, const string& docType, in WritableIdentityCredential() argument
47 docType_(docType), in WritableIdentityCredential()
DIdentityCredentialStore.cpp51 const string& docType, bool testCredential, in createCredential() argument
55 ndk::SharedRefBase::make<WritableIdentityCredential>(hwProxy, docType, testCredential, in createCredential()
DIdentityCredentialStore.h49 const string& docType, bool testCredential,
/hardware/interfaces/identity/aidl/vts/
DEndToEndTests.cpp76 string docType; in extractFromTestCredentialData() local
83 return make_tuple(false, docType, storageKey, credentialPrivKey, sha256Pop); in extractFromTestCredentialData()
88 return make_tuple(false, docType, storageKey, credentialPrivKey, sha256Pop); in extractFromTestCredentialData()
98 return make_tuple(false, docType, storageKey, credentialPrivKey, sha256Pop); in extractFromTestCredentialData()
101 docType = docTypeItem->value(); in extractFromTestCredentialData()
105 const vector<uint8_t> docTypeVec(docType.begin(), docType.end()); in extractFromTestCredentialData()
109 return make_tuple(false, docType, storageKey, credentialPrivKey, sha256Pop); in extractFromTestCredentialData()
114 return make_tuple(false, docType, storageKey, credentialPrivKey, sha256Pop); in extractFromTestCredentialData()
118 return make_tuple(false, docType, storageKey, credentialPrivKey, sha256Pop); in extractFromTestCredentialData()
121 return make_tuple(false, docType, storageKey, credentialPrivKey, sha256Pop); in extractFromTestCredentialData()
[all …]
DTestCredentialTests.cpp70 string docType = "org.iso.18013-5.2019.mdl"; in TEST_P() local
73 ->createCredential(docType, in TEST_P()
154 EXPECT_EQ(docTypeItem->value(), docType); in TEST_P()
160 const vector<uint8_t> docTypeVec(docType.begin(), docType.end()); in TEST_P()
DPresentationSessionTests.cpp66 void provisionSingleDocument(const string& docType, vector<uint8_t>* outCredentialData,
84 void PresentationSessionTests::provisionSingleDocument(const string& docType, in provisionSingleDocument() argument
89 ASSERT_TRUE(credentialStore_->createCredential(docType, testCredential, &wc).isOk()); in provisionSingleDocument()
DProveOwnershipTests.cpp75 string docType = "org.iso.18013-5.2019.mdl"; in provisionData() local
78 ASSERT_TRUE(credentialStore_->createCredential(docType, testCredential, &wc).isOk()); in provisionData()
DDeleteCredentialTests.cpp75 string docType = "org.iso.18013-5.2019.mdl"; in provisionData() local
78 ASSERT_TRUE(credentialStore_->createCredential(docType, testCredential, &wc).isOk()); in provisionData()
DAuthenticationKeyTests.cpp74 string docType = "org.iso.18013-5.2019.mdl"; in TEST_P() local
77 ->createCredential(docType, in TEST_P()
DUpdateCredentialTests.cpp75 string docType = "org.iso.18013-5.2019.mdl"; in provisionData() local
78 ASSERT_TRUE(credentialStore_->createCredential(docType, testCredential, &wc).isOk()); in provisionData()
/hardware/interfaces/identity/aidl/default/libeic/
DEicPresentation.h117 const char* docType, size_t docTypeLength,
125 bool eicPresentationGenerateSigningKeyPair(EicPresentation* ctx, const char* docType,
229 const uint8_t signingKeyBlob[60], const char* docType, size_t docTypeLength,
273 bool eicPresentationDeleteCredential(EicPresentation* ctx, const char* docType, size_t docTypeLengt…
282 bool eicPresentationProveOwnership(EicPresentation* ctx, const char* docType, size_t docTypeLength,
DEicProvisioning.h70 bool eicProvisioningInitForUpdate(EicProvisioning* ctx, bool testCredential, const char* docType,
88 const char* docType, size_t docTypeLength,
147 bool eicProvisioningFinishGetCredentialData(EicProvisioning* ctx, const char* docType,
DEicPresentation.c28 const char* docType, size_t docTypeLength, in eicPresentationInit() argument
59 (const uint8_t*)docType, docTypeLength, credentialKeys)) { in eicPresentationInit()
122 bool eicPresentationGenerateSigningKeyPair(EicPresentation* ctx, const char* docType, in eicPresentationGenerateSigningKeyPair() argument
182 (const uint8_t*)docType, docTypeLength, signingKeyBlob)) { in eicPresentationGenerateSigningKeyPair()
562 size_t sessionTranscriptSize, const char* docType, in appendDeviceAuthentication() argument
611 eicCborAppendString(cbor, docType, docTypeLength); in appendDeviceAuthentication()
626 const uint8_t signingKeyBlob[60], const char* docType, size_t docTypeLength, in eicPresentationPrepareDeviceAuthentication() argument
654 if (!eicOpsDecryptAes128Gcm(ctx->storageKey, signingKeyBlob, 60, (const uint8_t*)docType, in eicPresentationPrepareDeviceAuthentication()
720 docType, docTypeLength, expectedDeviceNamespacesSize); in eicPresentationPrepareDeviceAuthentication()
739 docType, docTypeLength, expectedDeviceNamespacesSize); in eicPresentationPrepareDeviceAuthentication()
[all …]
DEicProvisioning.c43 bool eicProvisioningInitForUpdate(EicProvisioning* ctx, bool testCredential, const char* docType, in eicProvisioningInitForUpdate() argument
75 (const uint8_t*)docType, docTypeLength, credentialKeys)) { in eicProvisioningInitForUpdate()
158 const char* docType, size_t docTypeLength, in eicProvisioningStartPersonalization() argument
219 eicCborAppendString(&ctx->cbor, docType, docTypeLength); in eicProvisioningStartPersonalization()
383 bool eicProvisioningFinishGetCredentialData(EicProvisioning* ctx, const char* docType, in eicProvisioningFinishGetCredentialData() argument
415 (const uint8_t*)docType, docTypeLength, encryptedCredentialKeys)) { in eicProvisioningFinishGetCredentialData()
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/2/android/hardware/identity/
DIIdentityCredentialStore.aidl22 …entity.IWritableIdentityCredential createCredential(in @utf8InCpp String docType, in boolean testC… in createCredential() argument
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/3/android/hardware/identity/
DIIdentityCredentialStore.aidl38 …entity.IWritableIdentityCredential createCredential(in @utf8InCpp String docType, in boolean testC… in createCredential() argument
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/1/android/hardware/identity/
DIIdentityCredentialStore.aidl22 …entity.IWritableIdentityCredential createCredential(in @utf8InCpp String docType, in boolean testC… in createCredential() argument
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/5/android/hardware/identity/
DIIdentityCredentialStore.aidl38 …entity.IWritableIdentityCredential createCredential(in @utf8InCpp String docType, in boolean testC… in createCredential() argument
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/current/android/hardware/identity/
DIIdentityCredentialStore.aidl38 …entity.IWritableIdentityCredential createCredential(in @utf8InCpp String docType, in boolean testC… in createCredential() argument
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/4/android/hardware/identity/
DIIdentityCredentialStore.aidl38 …entity.IWritableIdentityCredential createCredential(in @utf8InCpp String docType, in boolean testC… in createCredential() argument
/hardware/interfaces/identity/aidl/android/hardware/identity/
DIIdentityCredentialStore.aidl220 in @utf8InCpp String docType, in boolean testCredential); in createCredential()

12