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

/sssd/src/util/cert/nss/
H A Dcert.c233 SECKEYPublicKey *cert_pub_key = NULL; local
332 cert_pub_key = CERT_ExtractPublicKey(cert);
333 if (cert_pub_key == NULL) {
339 if (cert_pub_key->keyType != rsaKey) {
342 cert_pub_key->keyType);
350 if (cert_pub_key->u.rsa.publicExponent.data[0] & 0x80) {
355 if (cert_pub_key->u.rsa.modulus.data[0] & 0x80) {
359 + cert_pub_key->u.rsa.modulus.len
360 + cert_pub_key->u.rsa.publicExponent.len
375 htobe32(cert_pub_key
[all...]
/sssd/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);

Completed in 23 milliseconds