Searched refs:public_key_ (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/components/ownership/
H A Dmock_owner_key_util.cc19 *output = public_key_;
20 return !public_key_.empty();
32 return !public_key_.empty();
36 public_key_.clear();
41 public_key_ = key;
46 key.ExportPublicKey(&public_key_);
51 private_key_->ExportPublicKey(&public_key_);
H A Dmock_owner_key_util.h50 std::vector<uint8> public_key_; member in class:ownership::MockOwnerKeyUtil
H A Downer_settings_service.h84 scoped_refptr<ownership::PublicKey> public_key_; member in class:ownership::OwnerSettingsService
/external/chromium_org/net/cert/
H A Dct_log_verifier_nss.cc62 if (public_key_)
63 SECKEY_DestroyPublicKey(public_key_);
69 public_key_(NULL) {}
88 public_key_ = SECKEY_ExtractPublicKey(public_key_info);
91 if (!public_key_) {
101 switch (SECKEY_GetPublicKeyType(public_key_)) {
112 << SECKEY_GetPublicKeyType(public_key_);
118 SECKEY_PublicKeyStrengthInBits(public_key_) < 2048) {
135 data_to_sign.size(), public_key_, &sig_data,
H A Dct_log_verifier_openssl.cc46 if (public_key_)
47 EVP_PKEY_free(public_key_);
53 public_key_(NULL) {}
64 public_key_ = d2i_PUBKEY_bio(bio.get(), NULL);
65 if (!public_key_)
73 switch (EVP_PKEY_type(public_key_->type)) {
83 DVLOG(1) << "Unsupported key type: " << EVP_PKEY_type(public_key_->type);
90 EVP_PKEY_size(public_key_) < 256) {
110 1 == EVP_DigestVerifyInit(&ctx, NULL, hash_alg, NULL, public_key_) &&
H A Dct_log_verifier.h84 EVP_PKEY* public_key_; member in class:net::CTLogVerifier
86 SECKEYPublicKey* public_key_; member in class:net::CTLogVerifier
/external/chromium_org/net/quic/crypto/
H A Dcurve25519_key_exchange.cc26 // we use literals for the sizes of private_key_ and public_key_. Here we
31 COMPILE_ASSERT(sizeof(ka->public_key_) == crypto::curve25519::kBytes,
41 crypto::curve25519::ScalarBaseMult(ka->private_key_, ka->public_key_);
81 return StringPiece(reinterpret_cast<const char*>(public_key_),
82 sizeof(public_key_));
H A Dcurve25519_key_exchange.h44 uint8 public_key_[32]; member in class:net::Curve25519KeyExchange
H A Dp256_key_exchange_openssl.cc20 memcpy(public_key_, public_key, sizeof(public_key_));
110 return StringPiece(reinterpret_cast<const char*>(public_key_),
111 sizeof(public_key_));
H A Dp256_key_exchange.h73 uint8 public_key_[kUncompressedP256PointBytes]; member in class:net::P256KeyExchange
H A Dp256_key_exchange_nss.cc34 memcpy(public_key_, public_key, sizeof(public_key_));
226 return StringPiece(reinterpret_cast<const char*>(public_key_),
227 sizeof(public_key_));
/external/chromium_org/crypto/
H A Drsa_private_key_nss.cc79 if (public_key_)
80 SECKEY_DestroyPublicKey(public_key_);
134 copy->public_key_ = SECKEY_ConvertToPublicKey(key);
135 if (!copy->key_ || !copy->public_key_) {
151 PK11_MakeIDFromPubKey(&(result->public_key_->u.rsa.modulus)));
187 PK11_MakeIDFromPubKey(&(result->public_key_->u.rsa.modulus)));
203 copy->public_key_ = SECKEY_CopyPublicKey(public_key_);
230 ScopedSECItem der_pubkey(SECKEY_EncodeDERSubjectPublicKeyInfo(public_key_));
240 RSAPrivateKey::RSAPrivateKey() : key_(NULL), public_key_(NUL
[all...]
H A Drsa_private_key_nss_unittest.cc52 if (key_pair->public_key_) {
53 PK11_DestroyTokenObject(key_pair->public_key_->pkcs11Slot,
54 key_pair->public_key_->pkcs11ID);
H A Dec_private_key_nss.cc80 if (public_key_)
81 SECKEY_DestroyPublicKey(public_key_);
225 if (public_key_) {
226 copy->public_key_ = SECKEY_CopyPublicKey(public_key_);
227 if (!copy->public_key_)
280 SECKEY_EncodeDERSubjectPublicKeyInfo(public_key_));
290 // public_key_->u.ec.publicValue is an ANSI X9.62 public key which, for
295 CHECK_EQ(ecKey, SECKEY_GetPublicKeyType(public_key_));
296 const unsigned char* const data = public_key_
[all...]
H A Dec_private_key.h98 SECKEYPublicKey* public_key() { return public_key_; }
148 SECKEYPublicKey* public_key_; member in class:crypto::ECPrivateKey
H A Dsignature_verifier_nss.cc67 public_key_(NULL),
155 public_key_ = public_key;
181 rv = VerifyRSAPSS_End(public_key_, hash_context_,
219 if (public_key_) {
220 SECKEY_DestroyPublicKey(public_key_);
221 public_key_ = NULL;
H A Dsignature_verifier.h138 SECKEYPublicKey* public_key_; member in class:crypto::SignatureVerifier
/external/chromium_org/chrome/browser/chromeos/settings/
H A Dsession_manager_operation.cc45 public_key_ = public_key;
51 public_key_ = NULL;
77 if (force_key_load_ || !public_key_.get() || !public_key_->is_loaded()) {
87 public_key_),
117 public_key_ = new_key;
119 if (!public_key_.get() || !public_key_->is_loaded()) {
180 validator->ValidateSignature(public_key_->as_string(),
H A Ddevice_settings_service.cc165 return public_key_;
236 if (public_key_.get())
237 return public_key_->is_loaded() ? OWNERSHIP_TAKEN : OWNERSHIP_NONE;
243 if (public_key_.get()) {
293 public_key_ = NULL;
340 session_manager_client_, owner_key_util_, public_key_);
360 if (public_key_.get() != new_key.get()) {
361 public_key_ = new_key;
H A Dsession_manager_operation.h62 scoped_refptr<ownership::PublicKey> public_key() { return public_key_; }
122 scoped_refptr<ownership::PublicKey> public_key_; member in class:chromeos::SessionManagerOperation
/external/chromium_org/chrome/browser/extensions/api/networking_private/
H A Dnetworking_private_credentials_getter_win.cc44 std::vector<uint8> public_key_; member in class:__anon3783::CredentialsGetterHostClient
55 : public_key_(public_key.begin(), public_key.end()) {
83 public_key_, key_data, &ciphertext)) {
/external/chromium_org/extensions/browser/
H A Dverified_contents.h74 const uint8* public_key_; member in class:extensions::VerifiedContents
/external/chromium_org/chrome/browser/chromeos/ownership/
H A Downer_settings_service_chromeos.cc291 service->session_manager_client(), owner_key_util_, public_key_);
307 if ((operation->public_key().get() && !public_key_.get()) ||
308 (operation->public_key().get() && public_key_.get() &&
309 operation->public_key()->data() != public_key_->data())) {
/external/chromium_org/components/component_updater/
H A Dcomponent_unpacker.cc86 public_key_.swap(key);
94 const std::vector<uint8_t>& public_key() const { return public_key_; }
99 std::vector<uint8_t> public_key_; member in class:component_updater::__anon6380::CRXValidator
/external/chromium_org/chrome/browser/extensions/
H A Dsandboxed_unpacker.h164 // |public_key_|. Returns true if the signature validates, false otherwise.
224 std::string public_key_; member in class:extensions::SandboxedUnpacker

Completed in 316 milliseconds

12