pkcs12.py 734 B

123456789101112131415161718192021222324252627
  1. # This file is dual licensed under the terms of the Apache License, Version
  2. # 2.0, and the BSD License. See the LICENSE file in the root of this repository
  3. # for complete details.
  4. from __future__ import absolute_import, division, print_function
  5. INCLUDES = """
  6. #include <openssl/pkcs12.h>
  7. """
  8. TYPES = """
  9. typedef ... PKCS12;
  10. """
  11. FUNCTIONS = """
  12. void PKCS12_free(PKCS12 *);
  13. PKCS12 *d2i_PKCS12_bio(BIO *, PKCS12 **);
  14. int i2d_PKCS12_bio(BIO *, PKCS12 *);
  15. int PKCS12_parse(PKCS12 *, const char *, EVP_PKEY **, X509 **,
  16. Cryptography_STACK_OF_X509 **);
  17. PKCS12 *PKCS12_create(char *, char *, EVP_PKEY *, X509 *,
  18. Cryptography_STACK_OF_X509 *, int, int, int, int, int);
  19. """
  20. CUSTOMIZATIONS = """
  21. """