Searched defs:cert_pub_key (Results 1 - 2 of 2) sorted by relevance

/sssd-io/src/util/cert/libcrypto/
H A Dcert.c185 EVP_PKEY *cert_pub_key = NULL; local
207 cert_pub_key = X509_get_pubkey(cert);
208 if (cert_pub_key == NULL) {
214 if (EVP_PKEY_base_id(cert_pub_key) != EVP_PKEY_RSA) {
217 EVP_PKEY_base_id(cert_pub_key));
224 rsa_pub_key = EVP_PKEY_get0_RSA(cert_pub_key);
232 n = cert_pub_key->pkey.rsa->n;
233 e = cert_pub_key->pkey.rsa->e;
274 EVP_PKEY_free(cert_pub_key);
/sssd-io/src/util/cert/nss/
H A Dcert.c234 SECKEYPublicKey *cert_pub_key = NULL; local
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
[all...]

Completed in 11 milliseconds