Home
last modified time | relevance | path

Searched refs:credential (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/identity/aidl/vts/
DPresentationSessionTests.cpp143 sp<IIdentityCredential> credential; in TEST_P() local
144 ASSERT_TRUE(session->getCredential(credential1Data_, &credential).isOk()); in TEST_P()
149 result = credential->deleteCredential(&signatureProofOfDeletion); in TEST_P()
154 result = credential->createEphemeralKeyPair(&ephemeralKeyPair); in TEST_P()
158 result = credential->setReaderEphemeralPublicKey({}); in TEST_P()
163 result = credential->createAuthChallenge(&authChallenge); in TEST_P()
169 result = credential->generateSigningKeyPair(&signingKeyBlob, &certificate); in TEST_P()
173 result = credential->deleteCredentialWithChallenge({}, &signatureProofOfDeletion); in TEST_P()
178 result = credential->proveOwnership({}, &signatureProofOfOwnership); in TEST_P()
183 result = credential->updateCredential(&writableCredential); in TEST_P()
DEndToEndTests.cpp317 sp<IIdentityCredential> credential; in TEST_P() local
321 credentialData, &credential) in TEST_P()
323 ASSERT_NE(credential, nullptr); in TEST_P()
329 ASSERT_TRUE(credential->setReaderEphemeralPublicKey(readerEphemeralPublicKey.value()).isOk()); in TEST_P()
332 ASSERT_TRUE(credential->createEphemeralKeyPair(&ephemeralKeyPair).isOk()); in TEST_P()
389 ASSERT_TRUE(credential->generateSigningKeyPair(&signingKeyBlob, &signingKeyCertificate).isOk()); in TEST_P()
412 credential->setRequestedNamespaces(requestedNamespaces); in TEST_P()
414 credential->setVerificationToken(verificationToken); in TEST_P()
415 ASSERT_TRUE(credential in TEST_P()
422 ASSERT_TRUE(credential in TEST_P()
[all …]
DDeleteCredentialTests.cpp117 sp<IIdentityCredential> credential; in TEST_P() local
121 credentialData_, &credential) in TEST_P()
125 ASSERT_TRUE(credential->deleteCredential(&proofOfDeletionSignature).isOk()); in TEST_P()
142 sp<IIdentityCredential> credential; in TEST_P() local
146 credentialData_, &credential) in TEST_P()
154 credential->deleteCredentialWithChallenge(challenge, &proofOfDeletionSignature).isOk()); in TEST_P()
DProveOwnershipTests.cpp121 sp<IIdentityCredential> credential; in TEST_P() local
125 credentialData_, &credential) in TEST_P()
132 ASSERT_TRUE(credential->proveOwnership(challenge, &proofOfOwnershipSignature).isOk()); in TEST_P()
DAuthenticationKeyTests.cpp150 sp<IIdentityCredential> credential; in TEST_P() local
154 credentialData, &credential) in TEST_P()
158 ASSERT_TRUE(credential->generateSigningKeyPair(&signingKeyBlob, &signingKeyCertificate).isOk()); in TEST_P()
DUpdateCredentialTests.cpp152 sp<IIdentityCredential> credential; in TEST_P() local
156 credentialData_, &credential) in TEST_P()
160 ASSERT_TRUE(credential->updateCredential(&wc).isOk()); in TEST_P()
/hardware/interfaces/authsecret/1.0/
DIAuthSecret.hal20 * the primary user's credential. For example, security hardware could require
21 * proof that the credential is known before applying updates.
29 * be unlocked by a person entering their credential or by another party
43 * @param secret blob derived from the primary user's credential.
/hardware/interfaces/identity/aidl/default/common/
DIdentityCredentialStore.cpp76 shared_ptr<IdentityCredential> credential = ndk::SharedRefBase::make<IdentityCredential>( in getCredential() local
78 auto ret = credential->initialize(); in getCredential()
83 *outCredential = credential; in getCredential()
DPresentationSession.cpp129 shared_ptr<IdentityCredential> credential = ndk::SharedRefBase::make<IdentityCredential>( in getCredential() local
131 int ret = credential->initialize(); in getCredential()
136 *outCredential = std::move(credential); in getCredential()
/hardware/interfaces/biometrics/fingerprint/2.1/
DIBiometricsFingerprint.hal43 * credential confirmation (e.g. device password).