Searched refs:publicKey (Results 1 – 11 of 11) sorted by relevance
/system/security/ondevice-signing/ |
D | KeystoreKey.cpp | 130 auto publicKey = extractPublicKeyFromX509(cert.value()); in createKey() local 131 if (!publicKey.ok()) { in createKey() 132 return publicKey.error(); in createKey() 134 std::string publicKeyString = {publicKey->begin(), publicKey->end()}; in createKey() 144 return *publicKey; in createKey() 226 auto publicKey = extractPublicKeyFromX509(cert.value()); in verifyExistingKey() local 227 if (!publicKey.ok()) { in verifyExistingKey() 228 return publicKey.error(); in verifyExistingKey() 230 std::string publicKeyString = {publicKey->begin(), publicKey->end()}; in verifyExistingKey() 243 return *publicKey; in verifyExistingKey()
|
D | CertUtils.cpp | 58 Result<bssl::UniquePtr<RSA>> getRsa(const std::vector<uint8_t>& publicKey) { in getRsa() argument 63 BN_bin2bn(publicKey.data(), publicKey.size(), rsaPubkey->n); in getRsa() 70 const std::vector<uint8_t>& publicKey) { in verifySignature() argument 71 auto rsaKey = getRsa(publicKey); in verifySignature() 86 const std::vector<uint8_t>& publicKey, in createSelfSignedCertificate() argument 101 auto rsaPubkey = getRsa(publicKey); in createSelfSignedCertificate()
|
D | CertUtils.h | 22 const std::vector<uint8_t>& publicKey, 35 const std::vector<uint8_t>& publicKey);
|
D | odsign_main.cpp | 92 auto publicKey = key.getPublicKey(); in createX509Cert() local 94 if (!publicKey.ok()) { in createX509Cert() 95 return publicKey.error(); in createX509Cert() 99 createSelfSignedCertificate(*publicKey, keySignFunction, outPath); in createX509Cert() 199 auto publicKey = key.getPublicKey(); in getOdsignInfo() local 200 auto signResult = verifySignature(odsign_info_str, persistedSignature, *publicKey); in getOdsignInfo()
|
/system/extras/verity/ |
D | VeritySigner.java | 46 PublicKey publicKey = cert.getPublicKey(); in main() local 51 if (Utils.verify(publicKey, content, signature, in main() 52 Utils.getSignatureAlgorithmIdentifier(publicKey))) { in main()
|
D | BootSignature.java | 72 private PublicKey publicKey; field in BootSignature 118 publicKey = c.getPublicKey(); in BootSignature() 147 return publicKey; in getPublicKey() 163 publicKey = cert.getPublicKey(); in setCertificate() 186 return Utils.verify(publicKey, signable, signature.getOctets(), in verify()
|
/system/security/keystore2/aidl/android/security/remoteprovisioning/ |
D | IRemoteProvisioning.aidl | 115 void provisionCertChain(in byte[] publicKey, in byte[] batchCert, in byte[] certs, in provisionCertChain() argument
|
/system/security/identity/binder/android/security/identity/ |
D | ICredential.aidl | 42 void setReaderEphemeralPublicKey(in byte[] publicKey); in setReaderEphemeralPublicKey() argument
|
/system/hardware/interfaces/wifi/keystore/1.0/ |
D | IKeystore.hal | 56 * @return publicKey the public key associated with the credential. 59 generates (KeystoreStatusCode status, vec<uint8_t> publicKey);
|
/system/security/identity/ |
D | Credential.h | 58 Status setReaderEphemeralPublicKey(const vector<uint8_t>& publicKey) override;
|
D | Credential.cpp | 604 Status Credential::setReaderEphemeralPublicKey(const vector<uint8_t>& publicKey) { in setReaderEphemeralPublicKey() argument 605 Status status = halBinder_->setReaderEphemeralPublicKey(publicKey); in setReaderEphemeralPublicKey()
|