Searched refs:oid_data (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/net/cert/
H A Dev_root_ca_metadata_unittest.cc45 SECOidData oid_data; local
46 memset(&oid_data, 0, sizeof(oid_data));
47 oid_data.offset = SEC_OID_UNKNOWN;
48 oid_data.desc = oid_string;
49 oid_data.mechanism = CKM_INVALID_MECHANISM;
50 oid_data.supportedExtension = INVALID_CERT_EXTENSION;
52 SECStatus rv = SEC_StringToOID(arena, &oid_data.oid, oid_string, 0);
56 return SECOID_AddEntry(&oid_data);
H A Dct_objects_extractor_nss.cc112 SECOidData oid_data; local
113 oid_data.oid.len = oid_len;
114 oid_data.oid.data = const_cast<unsigned char*>(oid);
115 oid_data.offset = SEC_OID_UNKNOWN;
116 oid_data.desc = description;
117 oid_data.mechanism = CKM_INVALID_MECHANISM;
122 oid_data.supportedExtension = INVALID_CERT_EXTENSION;
124 SECOidTag result = SECOID_AddEntry(&oid_data);
H A Dx509_util_nss.cc68 SECOidData oid_data; local
69 memset(&oid_data, 0, sizeof(oid_data));
70 oid_data.oid.data = const_cast<uint8*>(kObCertOID);
71 oid_data.oid.len = sizeof(kObCertOID);
72 oid_data.offset = SEC_OID_UNKNOWN;
73 oid_data.desc = "Origin Bound Certificate";
74 oid_data.mechanism = CKM_INVALID_MECHANISM;
75 oid_data.supportedExtension = SUPPORTED_CERT_EXTENSION;
76 domain_bound_cert_oid_tag_ = SECOID_AddEntry(&oid_data);
[all...]
/external/chromium_org/crypto/
H A Dec_private_key_nss.cc286 SECOidData* oid_data = SECOID_FindOIDByTag(SEC_OID_SECG_EC_SECP256R1); local
287 if (!oid_data) {
296 DCHECK_LE(oid_data->oid.len, 127U);
297 std::vector<unsigned char> parameters_buf(2 + oid_data->oid.len);
304 ec_parameters.data[1] = oid_data->oid.len;
305 memcpy(ec_parameters.data + 2, oid_data->oid.data, oid_data->oid.len);
/external/chromium_org/net/quic/crypto/
H A Dp256_key_exchange_nss.cc88 const SECOidData* oid_data = SECOID_FindOIDByTag(SEC_OID_SECG_EC_SECP256R1); local
89 if (!oid_data) {
94 if (public_key->u.ec.DEREncodedParams.len != oid_data->oid.len + 2 ||
97 public_key->u.ec.DEREncodedParams.data[1] != oid_data->oid.len ||
99 oid_data->oid.data, oid_data->oid.len) != 0) {
/external/chromium/net/socket/
H A Dssl_client_socket_nss.cc416 SECOidData oid_data; local
417 memset(&oid_data, 0, sizeof(oid_data));
418 oid_data.oid.data = const_cast<uint8*>(kDNSSECChainOID);
419 oid_data.oid.len = sizeof(kDNSSECChainOID);
420 oid_data.desc = "DNSSEC chain";
421 oid_data.supportedExtension = SUPPORTED_CERT_EXTENSION;
422 dnssec_chain_tag = SECOID_AddEntry(&oid_data);

Completed in 149 milliseconds