Home
last modified time | relevance | path

Searched refs:privKey (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/identity/support/tests/
DIdentityCredentialSupportTest.cpp156 optional<vector<uint8_t>> privKey = support::ecKeyPairGetPrivateKey(keyPair.value()); in TEST() local
157 ASSERT_TRUE(privKey); in TEST()
161 optional<vector<uint8_t>> signature = support::signEcDsa(privKey.value(), data); in TEST()
206 optional<vector<uint8_t>> privKey = support::ecKeyPairGetPrivateKey(keyPair.value()); in TEST() local
207 ASSERT_TRUE(privKey); in TEST()
213 privKey.value(), data, {} /* detachedContent */, {} /* x5chain */); in TEST()
237 optional<vector<uint8_t>> privKey = support::ecKeyPairGetPrivateKey(keyPair.value()); in TEST() local
238 ASSERT_TRUE(privKey); in TEST()
243 optional<vector<uint8_t>> coseSign1 = support::coseSignEcDsa(privKey.value(), {} /* data */, in TEST()
270 optional<vector<uint8_t>> privKey = support::ecKeyPairGetPrivateKey(keyPair.value()); in generateCertChain() local
[all …]
/hardware/interfaces/identity/aidl/default/
DWritableIdentityCredential.cpp96 optional<vector<uint8_t>> privKey = support::ecKeyPairGetPrivateKey(keyPair); in getAttestationCertificate() local
97 if (!privKey) { in getAttestationCertificate()
102 credentialPrivKey_ = privKey.value(); in getAttestationCertificate()
/hardware/interfaces/identity/aidl/vts/
DVtsIdentityTestUtils.cpp54 vector<uint8_t> privKey; in generateReaderCertificate() local
55 return generateReaderCertificate(serialDecimal, &privKey); in generateReaderCertificate()