Lines Matching refs:PKCS7
232 static PKCS7 *pkcs7_new(CBS *cbs) { in pkcs7_new()
233 PKCS7 *ret = OPENSSL_malloc(sizeof(PKCS7)); in pkcs7_new()
237 OPENSSL_memset(ret, 0, sizeof(PKCS7)); in pkcs7_new()
275 PKCS7 *d2i_PKCS7(PKCS7 **out, const uint8_t **inp, in d2i_PKCS7()
279 PKCS7 *ret = pkcs7_new(&cbs); in d2i_PKCS7()
291 PKCS7 *d2i_PKCS7_bio(BIO *bio, PKCS7 **out) { in d2i_PKCS7_bio()
302 PKCS7 *ret = pkcs7_new(&cbs); in d2i_PKCS7_bio()
311 int i2d_PKCS7(const PKCS7 *p7, uint8_t **out) { in i2d_PKCS7()
335 int i2d_PKCS7_bio(BIO *bio, const PKCS7 *p7) { in i2d_PKCS7_bio()
339 void PKCS7_free(PKCS7 *p7) { in PKCS7_free()
356 int PKCS7_type_is_data(const PKCS7 *p7) { return 0; } in PKCS7_type_is_data()
357 int PKCS7_type_is_digest(const PKCS7 *p7) { return 0; } in PKCS7_type_is_digest()
358 int PKCS7_type_is_encrypted(const PKCS7 *p7) { return 0; } in PKCS7_type_is_encrypted()
359 int PKCS7_type_is_enveloped(const PKCS7 *p7) { return 0; } in PKCS7_type_is_enveloped()
360 int PKCS7_type_is_signed(const PKCS7 *p7) { return 1; } in PKCS7_type_is_signed()
361 int PKCS7_type_is_signedAndEnveloped(const PKCS7 *p7) { return 0; } in PKCS7_type_is_signedAndEnveloped()
363 PKCS7 *PKCS7_sign(X509 *sign_cert, EVP_PKEY *pkey, STACK_OF(X509) *certs, in PKCS7_sign()
366 OPENSSL_PUT_ERROR(PKCS7, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in PKCS7_sign()
382 PKCS7 *ret = pkcs7_new(&cbs); in PKCS7_sign()