pk7_enc.c 764 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
  3. *
  4. * Licensed under the OpenSSL license (the "License"). You may not use
  5. * this file except in compliance with the License. You can obtain a copy
  6. * in the file LICENSE in the source distribution or at
  7. * https://www.openssl.org/source/license.html
  8. */
  9. #include <stdio.h>
  10. #include "internal/cryptlib.h"
  11. #include <openssl/evp.h>
  12. #include <openssl/rand.h>
  13. #include <openssl/objects.h>
  14. #include <openssl/x509.h>
  15. #include <openssl/pkcs7.h>
  16. PKCS7_in_bio(PKCS7 *p7, BIO *in);
  17. PKCS7_out_bio(PKCS7 *p7, BIO *out);
  18. PKCS7_add_signer(PKCS7 *p7, X509 *cert, EVP_PKEY *key);
  19. PKCS7_cipher(PKCS7 *p7, EVP_CIPHER *cipher);
  20. PKCS7_Init(PKCS7 *p7);
  21. PKCS7_Update(PKCS7 *p7);
  22. PKCS7_Finish(PKCS7 *p7);