HomeSort by relevance Sort by last modified time
    Searched refs:privkey (Results 1 - 23 of 23) sorted by null

  /external/chromium_org/net/third_party/nss/ssl/
authcert.c 33 SECKEYPrivateKey * privkey = NULL; local
45 privkey = PK11_FindKeyByAnyCert(cert, proto_win);
46 if ( privkey ) {
73 privkey = PK11_FindKeyByAnyCert(cert, proto_win);
74 if ( privkey )
85 *pRetKey = privkey;
  /libcore/support/src/test/java/tests/resources/x509/
create.sh 21 if [ ! -f ${DIR}/privkey.pem ]; then
22 openssl genrsa -out ${DIR}/privkey.pem 2048
25 openssl req -config ${DIR}/default.cnf -new -key ${DIR}/privkey.pem -nodes -batch > /tmp/cert-rsa-req.pem
27 openssl x509 -extfile ${DIR}/default.cnf -days 3650 -extensions usr_cert -req -signkey ${DIR}/privkey.pem -outform d -set_serial -99999999999999999999 < /tmp/cert-rsa-req.pem > ${DIR}/cert-rsa.der
40 openssl req -config ${DIR}/default.cnf -new -key ${DIR}/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions keyUsage_extraLong_cert -req -signkey ${DIR}/privkey.pem -outform d > ${DIR}/cert-keyUsage-extraLong.der
42 openssl req -config ${DIR}/default.cnf -new -key ${DIR}/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions extendedKeyUsage_cert -req -signkey ${DIR}/privkey.pem -outform d > ${DIR}/cert-extendedKeyUsage.der
44 openssl req -config ${DIR}/default.cnf -new -key ${DIR}/privkey.pem -nodes -batch | openssl x509 -extfile ${DIR}/default.cnf -extensions ca_cert -req -signkey ${DIR}/privkey.pem -outform d > ${DIR}/cert-ca.de
    [all...]
  /external/chromium_org/third_party/webrtc/base/
nssidentity.h 30 NSSKeyPair(SECKEYPrivateKey* privkey, SECKEYPublicKey* pubkey) :
31 privkey_(privkey), pubkey_(pubkey) {}
38 SECKEYPrivateKey* privkey() const { return privkey_; } function in class:rtc::NSSKeyPair
nssidentity.cc 51 SECKEYPrivateKey *privkey = NULL; local
57 privkey = PK11_GenerateKeyPair(NSSContext::GetSlot(),
61 if (!privkey) {
66 return new NSSKeyPair(privkey, pubkey);
71 SECKEYPrivateKey *privkey = SECKEY_CopyPrivateKey(privkey_); local
72 if (!privkey)
77 SECKEY_DestroyPrivateKey(privkey);
81 return new NSSKeyPair(privkey, pubkey);
177 // Check that the parent's privkey was actually used to generate the child's
415 keypair->privkey(),
466 SECKEYPrivateKey* privkey = NULL; local
    [all...]
nssstreamadapter.cc 475 identity->keypair()->privkey(),
864 *pRetKey = SECKEY_CopyPrivateKey(identity->keypair()->privkey());
  /external/smack/src/org/xbill/DNS/
SIG0.java 31 * @param privkey The PrivateKey to use when signing
35 signMessage(Message message, KEYRecord key, PrivateKey privkey,
47 SIGRecord sig = DNSSEC.signMessage(message, previous, key, privkey,
DNSSEC.java 807 sign(PrivateKey privkey, PublicKey pubkey, int alg, byte [] data,
817 s.initSign(privkey);
889 * @param privkey The PrivateKey to use when signing
898 sign(RRset rrset, DNSKEYRecord key, PrivateKey privkey,
901 return sign(rrset, key, privkey, inception, expiration, null);
909 * @param privkey The PrivateKey to use when signing
920 sign(RRset rrset, DNSKEYRecord key, PrivateKey privkey,
924 checkAlgorithm(privkey, alg);
933 rrsig.setSignature(sign(privkey, key.getPublicKey(), alg,
940 PrivateKey privkey, Date inception, Date expiration
    [all...]
  /external/openssl/crypto/dsa/
dsa_ameth.c 198 ASN1_INTEGER *privkey = NULL; local
236 privkey = t2->value.integer;
241 if (!(privkey=d2i_ASN1_INTEGER(NULL, &p, pklen)))
243 if (privkey->type == V_ASN1_NEG_INTEGER)
246 ASN1_INTEGER_free(privkey);
247 if (!(privkey=d2i_ASN1_UINTEGER(NULL, &q, pklen)))
260 if (!(dsa->priv_key = ASN1_INTEGER_to_BN(privkey, NULL)))
288 ASN1_INTEGER_free(privkey);
296 if (privkey)
297 ASN1_INTEGER_free(privkey);
    [all...]
  /external/ipsec-tools/src/racoon/
privsep.c 340 vchar_t *privkey; local
356 if ((privkey = eay_get_pkcs1privkey(bufs[0])) == NULL){
361 reply->bufs.buflen[0] = privkey->l;
362 reply->hdr.ac_len = sizeof(*reply) + privkey->l;
371 memcpy(reply + 1, privkey->v, privkey->l);
372 vfree(privkey);
706 vchar_t *privkey; local
736 if ((privkey = vmalloc(len - sizeof(*msg))) == NULL)
739 memcpy(privkey->v, msg + 1, privkey->l)
    [all...]
oakley.c 1849 vchar_t *privkey = NULL; local
    [all...]
crypto_openssl.c 1110 eay_get_x509sign(src, privkey)
1111 vchar_t *src, *privkey;
1114 u_char *bp = (unsigned char *) privkey->v;
1120 evp = d2i_PrivateKey(EVP_PKEY_RSA, NULL, (void *)&bp, privkey->l);
    [all...]
  /external/openssl/crypto/dh/
dh_ameth.c 192 ASN1_INTEGER *privkey = NULL; local
204 if (!(privkey=d2i_ASN1_INTEGER(NULL, &p, pklen)))
214 if (!(dh->priv_key = ASN1_INTEGER_to_BN(privkey, NULL)))
225 ASN1_INTEGER_free(privkey);
  /external/chromium_org/net/tools/testserver/
minica.py 172 issuer_cn, subject_cn, serial, pubkey, privkey, ocsp_url = None):
173 '''MakeCertificate returns a DER encoded certificate, signed by privkey.'''
245 asn1.BitString(privkey.Sign(tbsCert)),
  /external/openssl/apps/
openssl.cnf 107 default_keyfile = privkey.pem
  /external/wpa_supplicant_8/src/wps/
wps_common.c 640 int wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey)
658 wpabuf_free(*privkey);
659 *privkey = priv;
666 struct wpabuf **privkey,
683 if (wps_nfc_gen_dh(pubkey, privkey) < 0) {
wps.h 871 int wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey);
873 struct wpabuf **privkey,
  /external/wpa_supplicant_8/src/crypto/
crypto_openssl.c 472 struct wpabuf *pubkey = NULL, *privkey = NULL; local
498 privkey = wpabuf_alloc(privlen);
499 if (privkey == NULL)
503 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen));
505 *priv = privkey;
511 wpabuf_free(privkey);
  /build/tools/releasetools/
common.py 569 name, cert, privkey = m.groups()
572 if cert in SPECIAL_CERT_STRINGS and not privkey:
575 privkey.endswith(OPTIONS.private_key_suffix) and
576 cert[:-public_key_suffix_len] == privkey[:-private_key_suffix_len]):
    [all...]
  /external/chromium_org/net/socket/
ssl_client_socket_openssl.cc     [all...]
ssl_client_socket_nss.cc 1533 SECKEYPrivateKey* privkey = PK11_FindKeyByAnyCert(cert, wincx); local
    [all...]
  /external/chromium_org/crypto/
rsa_private_key_unittest.cc 418 std::vector<uint8> privkey; local
420 ASSERT_TRUE(key_pair->ExportPrivateKey(&privkey));
428 ASSERT_EQ(privkey, privkey_copy);
  /external/conscrypt/src/main/java/org/conscrypt/
NativeCrypto.java 213 public static native long EVP_PKEY_new_EC_KEY(long groupRef, long pubkeyRef, byte[] privkey);
    [all...]
  /external/conscrypt/src/main/native/
org_conscrypt_NativeCrypto.cpp 3799 const BIGNUM *privkey = EC_KEY_get0_private_key(eckey.get()); local
    [all...]

Completed in 2903 milliseconds