Searched defs:certificate (Results 1 - 13 of 13) sorted by relevance

/system/webservd/webservd/
H A Dconfig.h49 brillo::Blob certificate; member in struct:webservd::final::final
/system/connectivity/shill/
H A Dmock_crypto_util_proxy.cc47 const std::string& certificate,
56 return CryptoUtilProxy::VerifyDestination(certificate, public_key,
46 RealVerifyDestination( const std::string& certificate, const std::string& public_key, const std::string& nonce, const std::string& signed_data, const std::string& destination_udn, const std::vector<uint8_t>& ssid, const std::string& bssid, const ResultBoolCallback& result_callback, Error* error) argument
H A Dcrypto_util_proxy.cc77 const string& certificate,
102 message.set_certificate(certificate);
76 VerifyDestination( const string& certificate, const string& public_key, const string& nonce, const string& signed_data, const string& destination_udn, const vector<uint8_t>& ssid, const string& bssid, const ResultBoolCallback& result_callback, Error* error) argument
H A Dmanager.cc1541 void Manager::VerifyDestination(const string& certificate, argument
1583 crypto_util_proxy_->VerifyDestination(certificate, public_key, nonce,
1607 void Manager::VerifyAndEncryptData(const string& certificate, argument
1619 VerifyDestination(certificate, public_key, nonce, signed_data,
1624 void Manager::VerifyAndEncryptCredentials(const string& certificate, argument
/system/extras/verity/
H A DKeystoreSigner.java90 private X509Certificate certificate; field in class:BootKeystore
106 certificate = cert;
153 signature.setCertificate(certificate);
164 "<certificate.x509.pem> <outfile> <publickey0.der> " +
H A DBootSignature.java51 * certificate ::= Certificate
67 private ASN1Encodable certificate; field in class:BootSignature
101 certificate = sequence.getObjectAt(1);
102 byte[] encoded = ((ASN1Object) certificate).getEncoded();
151 certificate = s.readObject();
182 v.add(certificate);
302 if (args.length >= 4 && "-certificate".equals(args[2])) {
303 /* args[3] is the path to a public key certificate */
313 args[3] is the path to the matching public key certificate
/system/keymaster/
H A Dasymmetric_key.cpp45 X509* certificate) {
104 if (!X509_add_ext(certificate, key_usage_extension.get() /* Don't release; copied */,
175 static bool add_public_key(EVP_PKEY* key, X509* certificate, keymaster_error_t* error) { argument
176 if (!X509_set_pubkey(certificate, key)) {
186 const KeymasterContext& context, X509* certificate,
194 if (!X509_add_ext(certificate, attest_extension.get() /* Don't release; copied */,
203 static keymaster_error_t get_certificate_blob(X509* certificate, keymaster_blob_t* blob) { argument
204 int len = i2d_X509(certificate, nullptr);
213 i2d_X509(certificate, &p);
239 // certificate
43 add_key_usage_extension(const AuthorizationSet& tee_enforced, const AuthorizationSet& sw_enforced, X509* certificate) argument
183 add_attestation_extension(const AuthorizationSet& attest_params, const AuthorizationSet& tee_enforced, const AuthorizationSet& sw_enforced, const KeymasterContext& context, X509* certificate, keymaster_error_t* error) argument
[all...]
H A Dandroid_keymaster_test.cpp3515 << "Verification of certificate " << i << " failed";
3523 static ASN1_OCTET_STRING* get_attestation_record(X509* certificate) { argument
3529 int location = X509_get_ext_by_OBJ(certificate, oid.get(), -1 /* search from beginning */);
3534 X509_EXTENSION* attest_rec_ext = X509_get_ext(certificate, location);
/system/update_engine/
H A Dcertificate_checker.cc42 X509* certificate = X509_STORE_CTX_get_current_cert(x509_ctx); local
43 TEST_AND_RETURN_FALSE(certificate);
50 bool success = X509_digest(certificate, digest_function, out_digest, &len);
87 // which will be called after each server certificate is validated. However,
89 // callback, the certificate check will have to be done statically. Since we
91 // certificate, we hardcode Chrome OS's two known update servers here, and
140 // certificate. We store a report to UMA and just propagate the fail result.
154 LOG(WARNING) << "Failed to generate digest of X509 certificate "
168 // If there's no stored certificate, we just store the current one and return.
171 LOG(WARNING) << "Failed to store server certificate o
[all...]
/system/connectivity/shill/shims/
H A Dcrypto_util.cc147 // Verify that the destination described by |certificate| is valid.
149 // 1) The MAC address listed in the certificate matches |connected_mac|.
150 // 2) The certificate is a valid PEM encoded certificate signed by our
153 // the public key in |certificate|.
158 bool VerifyCredentialsImpl(const string& certificate, argument
201 const_cast<char*>(certificate.data()), certificate.length());
204 LOG(ERROR) << "Failed to allocate openssl certificate buffer.";
212 LOG(ERROR) << "Failed to parse certificate
[all...]
/system/tpm/attestation/server/
H A Dpkcs11_key_store.cc244 const std::string& certificate) {
351 if (!certificate.empty()) {
355 if (!GetCertificateFields(certificate, &subject, &issuer, &serial_number)) {
356 LOG(WARNING) << "Pkcs11KeyStore: Failed to find certificate fields.";
358 // Construct a PKCS #11 template for a certificate object.
359 std::string mutable_certificate = certificate;
387 LOG(ERROR) << "Pkcs11KeyStore: Failed to create certificate object.";
400 const std::string& certificate) {
412 if (DoesCertificateExist(session.handle(), certificate)) {
419 if (!GetCertificateFields(certificate,
238 Register(const std::string& username, const std::string& label, KeyType key_type, KeyUsage key_usage, const std::string& private_key_blob, const std::string& public_key_der, const std::string& certificate) argument
399 RegisterCertificate(const std::string& username, const std::string& certificate) argument
614 GetCertificateFields(const std::string& certificate, std::string* subject, std::string* issuer, std::string* serial_number) argument
656 DoesCertificateExist( CK_SESSION_HANDLE session_handle, const std::string& certificate) argument
[all...]
H A Dattestation_service.cc350 std::string certificate; local
358 &certificate)) {
365 set_identity_credential(certificate);
371 result->set_certificate(certificate);
854 const std::string& certificate) {
859 pem += brillo::data_encoding::Base64EncodeWrapLines(certificate);
853 CreatePEMCertificate( const std::string& certificate) argument
/system/connectivity/shill/dbus/
H A Dchromeos_manager_dbus_adaptor.cc419 const string& certificate,
430 manager_->VerifyDestination(certificate, public_key, nonce,
447 const string& certificate,
460 manager_->VerifyAndEncryptCredentials(certificate, public_key, nonce,
479 const string& certificate,
492 manager_->VerifyAndEncryptData(certificate, public_key, nonce,
417 VerifyDestination( DBusMethodResponsePtr<bool> response, const string& certificate, const string& public_key, const string& nonce, const string& signed_data, const string& destination_udn, const string& hotspot_ssid, const string& hotspot_bssid) argument
445 VerifyAndEncryptCredentials( DBusMethodResponsePtr<string> response, const string& certificate, const string& public_key, const string& nonce, const string& signed_data, const string& destination_udn, const string& hotspot_ssid, const string& hotspot_bssid, const dbus::ObjectPath& network) argument
477 VerifyAndEncryptData( DBusMethodResponsePtr<string> response, const string& certificate, const string& public_key, const string& nonce, const string& signed_data, const string& destination_udn, const string& hotspot_ssid, const string& hotspot_bssid, const string& data) argument

Completed in 2014 milliseconds