Home | History | Annotate | Download | only in pkcs7

Lines Matching full:x509

62 #include <openssl/x509.h>
295 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509)
298 STACK_OF(X509) **sk;
321 CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509);
322 if (!sk_X509_push(*sk,x509))
324 X509_free(x509);
366 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
375 X509_get_issuer_name(x509)))
382 M_ASN1_INTEGER_dup(X509_get_serialNumber(x509))))
413 PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509, EVP_PKEY *pkey,
433 if (!PKCS7_SIGNER_INFO_set(si,x509,pkey,dgst)) goto err;
491 PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7, X509 *x509)
496 if (!PKCS7_RECIP_INFO_set(ri,x509)) goto err;
529 int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509)
536 X509_get_issuer_name(x509)))
541 M_ASN1_INTEGER_dup(X509_get_serialNumber(x509))))
544 pkey = X509_get_pubkey(x509);
570 CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509);
571 p7i->cert=x509;
581 X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si)