Lines Matching defs:cert_pub_key
234 SECKEYPublicKey *cert_pub_key = NULL;
333 cert_pub_key = CERT_ExtractPublicKey(cert);
334 if (cert_pub_key == NULL) {
340 if (cert_pub_key->keyType != rsaKey) {
343 cert_pub_key->keyType);
351 if (cert_pub_key->u.rsa.publicExponent.data[0] & 0x80) {
356 if (cert_pub_key->u.rsa.modulus.data[0] & 0x80) {
360 + cert_pub_key->u.rsa.modulus.len
361 + cert_pub_key->u.rsa.publicExponent.len
376 htobe32(cert_pub_key->u.rsa.publicExponent.len
381 safealign_memcpy(&buf[c], cert_pub_key->u.rsa.publicExponent.data,
382 cert_pub_key->u.rsa.publicExponent.len, &c);
385 htobe32(cert_pub_key->u.rsa.modulus.len
390 safealign_memcpy(&buf[c], cert_pub_key->u.rsa.modulus.data,
391 cert_pub_key->u.rsa.modulus.len, &c);
402 SECKEY_DestroyPublicKey(cert_pub_key);