node-bin-darwin-arm64 16.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2082 -0
- package/LICENSE +1616 -0
- package/README.md +738 -0
- package/bin/node +0 -0
- package/include/node/common.gypi +577 -0
- package/include/node/config.gypi +337 -0
- package/include/node/cppgc/common.h +29 -0
- package/include/node/js_native_api.h +561 -0
- package/include/node/js_native_api_types.h +160 -0
- package/include/node/libplatform/libplatform-export.h +29 -0
- package/include/node/libplatform/libplatform.h +117 -0
- package/include/node/libplatform/v8-tracing.h +334 -0
- package/include/node/node.h +1132 -0
- package/include/node/node_api.h +275 -0
- package/include/node/node_api_types.h +50 -0
- package/include/node/node_buffer.h +92 -0
- package/include/node/node_object_wrap.h +132 -0
- package/include/node/node_version.h +98 -0
- package/include/node/openssl/aes.h +92 -0
- package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +48 -0
- package/include/node/openssl/archs/BSD-x86/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/BSD-x86/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslconf.h +197 -0
- package/include/node/openssl/archs/BSD-x86/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +49 -0
- package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslconf.h +197 -0
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +30 -0
- package/include/node/openssl/archs/BSD-x86/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/BSD-x86/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/BSD-x86/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +46 -0
- package/include/node/openssl/archs/BSD-x86_64/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/BSD-x86_64/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslconf.h +197 -0
- package/include/node/openssl/archs/BSD-x86_64/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +47 -0
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslconf.h +197 -0
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +45 -0
- package/include/node/openssl/archs/VC-WIN32/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/VC-WIN32/asm/crypto/include/internal/dso_conf.h +16 -0
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/VC-WIN32/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +45 -0
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/include/internal/dso_conf.h +16 -0
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +45 -0
- package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/include/internal/dso_conf.h +16 -0
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslconf.h +206 -0
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/include/internal/dso_conf.h +16 -0
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +23 -0
- package/include/node/openssl/archs/VC-WIN64A/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/VC-WIN64A/asm/crypto/include/internal/dso_conf.h +16 -0
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/VC-WIN64A/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +23 -0
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/include/internal/dso_conf.h +16 -0
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +23 -0
- package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/include/internal/dso_conf.h +16 -0
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslconf.h +206 -0
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/aix-gcc/asm/crypto/buildinf.h +35 -0
- package/include/node/openssl/archs/aix-gcc/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/aix-gcc/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/aix-gcc/asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/aix-gcc/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/buildinf.h +36 -0
- package/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/aix-gcc/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/aix-gcc/no-asm/crypto/buildinf.h +26 -0
- package/include/node/openssl/archs/aix-gcc/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/aix-gcc/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/opensslconf.h +206 -0
- package/include/node/openssl/archs/aix-gcc/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/aix64-gcc/asm/crypto/buildinf.h +38 -0
- package/include/node/openssl/archs/aix64-gcc/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/aix64-gcc/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/aix64-gcc/asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/aix64-gcc/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/buildinf.h +39 -0
- package/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/aix64-gcc/asm_avx2/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/aix64-gcc/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/aix64-gcc/no-asm/crypto/buildinf.h +27 -0
- package/include/node/openssl/archs/aix64-gcc/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/aix64-gcc/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/aix64-gcc/no-asm/include/openssl/opensslconf.h +206 -0
- package/include/node/openssl/archs/aix64-gcc/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +47 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +48 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslconf.h +206 -0
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +38 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +39 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +28 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslconf.h +206 -0
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +46 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +47 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +28 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslconf.h +206 -0
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +38 -0
- package/include/node/openssl/archs/linux-aarch64/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-aarch64/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-aarch64/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +39 -0
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +28 -0
- package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +40 -0
- package/include/node/openssl/archs/linux-armv4/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-armv4/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-armv4/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +42 -0
- package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +28 -0
- package/include/node/openssl/archs/linux-armv4/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-armv4/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux-armv4/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +48 -0
- package/include/node/openssl/archs/linux-elf/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-elf/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-elf/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +49 -0
- package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +30 -0
- package/include/node/openssl/archs/linux-elf/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-elf/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux-elf/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-ppc/asm/crypto/buildinf.h +37 -0
- package/include/node/openssl/archs/linux-ppc/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-ppc/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-ppc/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-ppc/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/buildinf.h +38 -0
- package/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-ppc/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-ppc/no-asm/crypto/buildinf.h +28 -0
- package/include/node/openssl/archs/linux-ppc/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-ppc/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux-ppc/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-ppc64/asm/crypto/buildinf.h +40 -0
- package/include/node/openssl/archs/linux-ppc64/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-ppc64/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-ppc64/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-ppc64/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/buildinf.h +41 -0
- package/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-ppc64/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-ppc64/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/linux-ppc64/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-ppc64/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux-ppc64/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +40 -0
- package/include/node/openssl/archs/linux-ppc64le/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-ppc64le/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-ppc64le/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +41 -0
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-x32/asm/crypto/buildinf.h +46 -0
- package/include/node/openssl/archs/linux-x32/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-x32/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-x32/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-x32/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-x32/asm_avx2/crypto/buildinf.h +48 -0
- package/include/node/openssl/archs/linux-x32/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-x32/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-x32/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-x32/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-x32/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/linux-x32/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-x32/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-x32/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux-x32/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +46 -0
- package/include/node/openssl/archs/linux-x86_64/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-x86_64/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-x86_64/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +47 -0
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +43 -0
- package/include/node/openssl/archs/linux32-s390x/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux32-s390x/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux32-s390x/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +44 -0
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +35 -0
- package/include/node/openssl/archs/linux64-mips64/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux64-mips64/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux64-mips64/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +36 -0
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +28 -0
- package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +28 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +42 -0
- package/include/node/openssl/archs/linux64-s390x/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux64-s390x/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux64-s390x/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +43 -0
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +47 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +48 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/progs.h +507 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +46 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/progs.h +507 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +47 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslconf.h +200 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/progs.h +507 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +28 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/include/internal/bn_conf.h +28 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/include/internal/dso_conf.h +17 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslconf.h +203 -0
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/progs.h +507 -0
- package/include/node/openssl/asn1.h +886 -0
- package/include/node/openssl/asn1_mac.h +10 -0
- package/include/node/openssl/asn1err.h +256 -0
- package/include/node/openssl/asn1t.h +945 -0
- package/include/node/openssl/async.h +76 -0
- package/include/node/openssl/asyncerr.h +42 -0
- package/include/node/openssl/bio.h +801 -0
- package/include/node/openssl/bioerr.h +124 -0
- package/include/node/openssl/blowfish.h +61 -0
- package/include/node/openssl/bn.h +539 -0
- package/include/node/openssl/bn_conf.h +5 -0
- package/include/node/openssl/bn_conf_asm.h +59 -0
- package/include/node/openssl/bn_conf_no-asm.h +61 -0
- package/include/node/openssl/bnerr.h +100 -0
- package/include/node/openssl/buffer.h +58 -0
- package/include/node/openssl/buffererr.h +34 -0
- package/include/node/openssl/camellia.h +83 -0
- package/include/node/openssl/cast.h +53 -0
- package/include/node/openssl/cmac.h +41 -0
- package/include/node/openssl/cms.h +339 -0
- package/include/node/openssl/cmserr.h +202 -0
- package/include/node/openssl/comp.h +53 -0
- package/include/node/openssl/comperr.h +44 -0
- package/include/node/openssl/conf.h +168 -0
- package/include/node/openssl/conf_api.h +40 -0
- package/include/node/openssl/conferr.h +76 -0
- package/include/node/openssl/crypto.h +449 -0
- package/include/node/openssl/cryptoerr.h +57 -0
- package/include/node/openssl/ct.h +474 -0
- package/include/node/openssl/cterr.h +80 -0
- package/include/node/openssl/des.h +174 -0
- package/include/node/openssl/dh.h +340 -0
- package/include/node/openssl/dherr.h +88 -0
- package/include/node/openssl/dsa.h +244 -0
- package/include/node/openssl/dsaerr.h +72 -0
- package/include/node/openssl/dso_conf.h +5 -0
- package/include/node/openssl/dso_conf_asm.h +59 -0
- package/include/node/openssl/dso_conf_no-asm.h +61 -0
- package/include/node/openssl/dtls1.h +55 -0
- package/include/node/openssl/e_os2.h +301 -0
- package/include/node/openssl/ebcdic.h +33 -0
- package/include/node/openssl/ec.h +1481 -0
- package/include/node/openssl/ecdh.h +10 -0
- package/include/node/openssl/ecdsa.h +10 -0
- package/include/node/openssl/ecerr.h +276 -0
- package/include/node/openssl/engine.h +751 -0
- package/include/node/openssl/engineerr.h +111 -0
- package/include/node/openssl/err.h +274 -0
- package/include/node/openssl/evp.h +1670 -0
- package/include/node/openssl/evperr.h +204 -0
- package/include/node/openssl/hmac.h +51 -0
- package/include/node/openssl/idea.h +64 -0
- package/include/node/openssl/kdf.h +97 -0
- package/include/node/openssl/kdferr.h +55 -0
- package/include/node/openssl/lhash.h +241 -0
- package/include/node/openssl/md2.h +44 -0
- package/include/node/openssl/md4.h +51 -0
- package/include/node/openssl/md5.h +50 -0
- package/include/node/openssl/mdc2.h +42 -0
- package/include/node/openssl/modes.h +208 -0
- package/include/node/openssl/obj_mac.h +5198 -0
- package/include/node/openssl/objects.h +175 -0
- package/include/node/openssl/objectserr.h +42 -0
- package/include/node/openssl/ocsp.h +352 -0
- package/include/node/openssl/ocsperr.h +78 -0
- package/include/node/openssl/opensslconf.h +23 -0
- package/include/node/openssl/opensslconf_asm.h +140 -0
- package/include/node/openssl/opensslconf_no-asm.h +49 -0
- package/include/node/openssl/opensslv.h +101 -0
- package/include/node/openssl/ossl_typ.h +199 -0
- package/include/node/openssl/pem.h +378 -0
- package/include/node/openssl/pem2.h +13 -0
- package/include/node/openssl/pemerr.h +105 -0
- package/include/node/openssl/pkcs12.h +223 -0
- package/include/node/openssl/pkcs12err.h +81 -0
- package/include/node/openssl/pkcs7.h +319 -0
- package/include/node/openssl/pkcs7err.h +103 -0
- package/include/node/openssl/rand.h +77 -0
- package/include/node/openssl/rand_drbg.h +130 -0
- package/include/node/openssl/randerr.h +94 -0
- package/include/node/openssl/rc2.h +51 -0
- package/include/node/openssl/rc4.h +36 -0
- package/include/node/openssl/rc5.h +63 -0
- package/include/node/openssl/ripemd.h +47 -0
- package/include/node/openssl/rsa.h +513 -0
- package/include/node/openssl/rsaerr.h +167 -0
- package/include/node/openssl/safestack.h +207 -0
- package/include/node/openssl/seed.h +96 -0
- package/include/node/openssl/sha.h +119 -0
- package/include/node/openssl/srp.h +135 -0
- package/include/node/openssl/srtp.h +50 -0
- package/include/node/openssl/ssl.h +2499 -0
- package/include/node/openssl/ssl2.h +24 -0
- package/include/node/openssl/ssl3.h +342 -0
- package/include/node/openssl/sslerr.h +795 -0
- package/include/node/openssl/stack.h +83 -0
- package/include/node/openssl/store.h +266 -0
- package/include/node/openssl/storeerr.h +91 -0
- package/include/node/openssl/symhacks.h +37 -0
- package/include/node/openssl/tls1.h +1241 -0
- package/include/node/openssl/ts.h +559 -0
- package/include/node/openssl/tserr.h +132 -0
- package/include/node/openssl/txt_db.h +57 -0
- package/include/node/openssl/ui.h +368 -0
- package/include/node/openssl/uierr.h +65 -0
- package/include/node/openssl/whrlpool.h +48 -0
- package/include/node/openssl/x509.h +1050 -0
- package/include/node/openssl/x509_vfy.h +632 -0
- package/include/node/openssl/x509err.h +129 -0
- package/include/node/openssl/x509v3.h +938 -0
- package/include/node/openssl/x509v3err.h +164 -0
- package/include/node/uv/aix.h +32 -0
- package/include/node/uv/android-ifaddrs.h +54 -0
- package/include/node/uv/bsd.h +34 -0
- package/include/node/uv/darwin.h +61 -0
- package/include/node/uv/errno.h +460 -0
- package/include/node/uv/linux.h +34 -0
- package/include/node/uv/os390.h +33 -0
- package/include/node/uv/posix.h +31 -0
- package/include/node/uv/stdint-msvc2008.h +247 -0
- package/include/node/uv/sunos.h +44 -0
- package/include/node/uv/threadpool.h +37 -0
- package/include/node/uv/tree.h +768 -0
- package/include/node/uv/unix.h +507 -0
- package/include/node/uv/version.h +43 -0
- package/include/node/uv/win.h +691 -0
- package/include/node/uv.h +1846 -0
- package/include/node/v8-internal.h +511 -0
- package/include/node/v8-platform.h +709 -0
- package/include/node/v8-profiler.h +1123 -0
- package/include/node/v8-version.h +20 -0
- package/include/node/v8.h +12652 -0
- package/include/node/v8config.h +560 -0
- package/include/node/zconf.h +549 -0
- package/include/node/zlib.h +1935 -0
- package/package.json +17 -0
- package/share/doc/node/gdbinit +245 -0
- package/share/doc/node/lldb_commands.py +134 -0
- package/share/man/man1/node.1 +718 -0
- package/share/systemtap/tapset/node.stp +146 -0
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 1995-2018 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
|
+
|
|
10
|
+
#ifndef HEADER_PEM_H
|
|
11
|
+
# define HEADER_PEM_H
|
|
12
|
+
|
|
13
|
+
# include <openssl/e_os2.h>
|
|
14
|
+
# include <openssl/bio.h>
|
|
15
|
+
# include <openssl/safestack.h>
|
|
16
|
+
# include <openssl/evp.h>
|
|
17
|
+
# include <openssl/x509.h>
|
|
18
|
+
# include <openssl/pemerr.h>
|
|
19
|
+
|
|
20
|
+
#ifdef __cplusplus
|
|
21
|
+
extern "C" {
|
|
22
|
+
#endif
|
|
23
|
+
|
|
24
|
+
# define PEM_BUFSIZE 1024
|
|
25
|
+
|
|
26
|
+
# define PEM_STRING_X509_OLD "X509 CERTIFICATE"
|
|
27
|
+
# define PEM_STRING_X509 "CERTIFICATE"
|
|
28
|
+
# define PEM_STRING_X509_TRUSTED "TRUSTED CERTIFICATE"
|
|
29
|
+
# define PEM_STRING_X509_REQ_OLD "NEW CERTIFICATE REQUEST"
|
|
30
|
+
# define PEM_STRING_X509_REQ "CERTIFICATE REQUEST"
|
|
31
|
+
# define PEM_STRING_X509_CRL "X509 CRL"
|
|
32
|
+
# define PEM_STRING_EVP_PKEY "ANY PRIVATE KEY"
|
|
33
|
+
# define PEM_STRING_PUBLIC "PUBLIC KEY"
|
|
34
|
+
# define PEM_STRING_RSA "RSA PRIVATE KEY"
|
|
35
|
+
# define PEM_STRING_RSA_PUBLIC "RSA PUBLIC KEY"
|
|
36
|
+
# define PEM_STRING_DSA "DSA PRIVATE KEY"
|
|
37
|
+
# define PEM_STRING_DSA_PUBLIC "DSA PUBLIC KEY"
|
|
38
|
+
# define PEM_STRING_PKCS7 "PKCS7"
|
|
39
|
+
# define PEM_STRING_PKCS7_SIGNED "PKCS #7 SIGNED DATA"
|
|
40
|
+
# define PEM_STRING_PKCS8 "ENCRYPTED PRIVATE KEY"
|
|
41
|
+
# define PEM_STRING_PKCS8INF "PRIVATE KEY"
|
|
42
|
+
# define PEM_STRING_DHPARAMS "DH PARAMETERS"
|
|
43
|
+
# define PEM_STRING_DHXPARAMS "X9.42 DH PARAMETERS"
|
|
44
|
+
# define PEM_STRING_SSL_SESSION "SSL SESSION PARAMETERS"
|
|
45
|
+
# define PEM_STRING_DSAPARAMS "DSA PARAMETERS"
|
|
46
|
+
# define PEM_STRING_ECDSA_PUBLIC "ECDSA PUBLIC KEY"
|
|
47
|
+
# define PEM_STRING_ECPARAMETERS "EC PARAMETERS"
|
|
48
|
+
# define PEM_STRING_ECPRIVATEKEY "EC PRIVATE KEY"
|
|
49
|
+
# define PEM_STRING_PARAMETERS "PARAMETERS"
|
|
50
|
+
# define PEM_STRING_CMS "CMS"
|
|
51
|
+
|
|
52
|
+
# define PEM_TYPE_ENCRYPTED 10
|
|
53
|
+
# define PEM_TYPE_MIC_ONLY 20
|
|
54
|
+
# define PEM_TYPE_MIC_CLEAR 30
|
|
55
|
+
# define PEM_TYPE_CLEAR 40
|
|
56
|
+
|
|
57
|
+
/*
|
|
58
|
+
* These macros make the PEM_read/PEM_write functions easier to maintain and
|
|
59
|
+
* write. Now they are all implemented with either: IMPLEMENT_PEM_rw(...) or
|
|
60
|
+
* IMPLEMENT_PEM_rw_cb(...)
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
# ifdef OPENSSL_NO_STDIO
|
|
64
|
+
|
|
65
|
+
# define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/
|
|
66
|
+
# define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/
|
|
67
|
+
# define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/
|
|
68
|
+
# define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/
|
|
69
|
+
# define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/
|
|
70
|
+
# else
|
|
71
|
+
|
|
72
|
+
# define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \
|
|
73
|
+
type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\
|
|
74
|
+
{ \
|
|
75
|
+
return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
# define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \
|
|
79
|
+
int PEM_write_##name(FILE *fp, type *x) \
|
|
80
|
+
{ \
|
|
81
|
+
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
# define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \
|
|
85
|
+
int PEM_write_##name(FILE *fp, const type *x) \
|
|
86
|
+
{ \
|
|
87
|
+
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,(void *)x,NULL,NULL,0,NULL,NULL); \
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
# define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) \
|
|
91
|
+
int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
|
|
92
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, \
|
|
93
|
+
void *u) \
|
|
94
|
+
{ \
|
|
95
|
+
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
# define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) \
|
|
99
|
+
int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
|
|
100
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, \
|
|
101
|
+
void *u) \
|
|
102
|
+
{ \
|
|
103
|
+
return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
# endif
|
|
107
|
+
|
|
108
|
+
# define IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
|
|
109
|
+
type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u)\
|
|
110
|
+
{ \
|
|
111
|
+
return PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
# define IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
|
|
115
|
+
int PEM_write_bio_##name(BIO *bp, type *x) \
|
|
116
|
+
{ \
|
|
117
|
+
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,NULL,NULL,0,NULL,NULL); \
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
# define IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
|
|
121
|
+
int PEM_write_bio_##name(BIO *bp, const type *x) \
|
|
122
|
+
{ \
|
|
123
|
+
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,NULL,NULL,0,NULL,NULL); \
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
# define IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
|
|
127
|
+
int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
|
|
128
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \
|
|
129
|
+
{ \
|
|
130
|
+
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); \
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
# define IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
|
|
134
|
+
int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
|
|
135
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \
|
|
136
|
+
{ \
|
|
137
|
+
return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,enc,kstr,klen,cb,u); \
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
# define IMPLEMENT_PEM_write(name, type, str, asn1) \
|
|
141
|
+
IMPLEMENT_PEM_write_bio(name, type, str, asn1) \
|
|
142
|
+
IMPLEMENT_PEM_write_fp(name, type, str, asn1)
|
|
143
|
+
|
|
144
|
+
# define IMPLEMENT_PEM_write_const(name, type, str, asn1) \
|
|
145
|
+
IMPLEMENT_PEM_write_bio_const(name, type, str, asn1) \
|
|
146
|
+
IMPLEMENT_PEM_write_fp_const(name, type, str, asn1)
|
|
147
|
+
|
|
148
|
+
# define IMPLEMENT_PEM_write_cb(name, type, str, asn1) \
|
|
149
|
+
IMPLEMENT_PEM_write_cb_bio(name, type, str, asn1) \
|
|
150
|
+
IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1)
|
|
151
|
+
|
|
152
|
+
# define IMPLEMENT_PEM_write_cb_const(name, type, str, asn1) \
|
|
153
|
+
IMPLEMENT_PEM_write_cb_bio_const(name, type, str, asn1) \
|
|
154
|
+
IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1)
|
|
155
|
+
|
|
156
|
+
# define IMPLEMENT_PEM_read(name, type, str, asn1) \
|
|
157
|
+
IMPLEMENT_PEM_read_bio(name, type, str, asn1) \
|
|
158
|
+
IMPLEMENT_PEM_read_fp(name, type, str, asn1)
|
|
159
|
+
|
|
160
|
+
# define IMPLEMENT_PEM_rw(name, type, str, asn1) \
|
|
161
|
+
IMPLEMENT_PEM_read(name, type, str, asn1) \
|
|
162
|
+
IMPLEMENT_PEM_write(name, type, str, asn1)
|
|
163
|
+
|
|
164
|
+
# define IMPLEMENT_PEM_rw_const(name, type, str, asn1) \
|
|
165
|
+
IMPLEMENT_PEM_read(name, type, str, asn1) \
|
|
166
|
+
IMPLEMENT_PEM_write_const(name, type, str, asn1)
|
|
167
|
+
|
|
168
|
+
# define IMPLEMENT_PEM_rw_cb(name, type, str, asn1) \
|
|
169
|
+
IMPLEMENT_PEM_read(name, type, str, asn1) \
|
|
170
|
+
IMPLEMENT_PEM_write_cb(name, type, str, asn1)
|
|
171
|
+
|
|
172
|
+
/* These are the same except they are for the declarations */
|
|
173
|
+
|
|
174
|
+
# if defined(OPENSSL_NO_STDIO)
|
|
175
|
+
|
|
176
|
+
# define DECLARE_PEM_read_fp(name, type) /**/
|
|
177
|
+
# define DECLARE_PEM_write_fp(name, type) /**/
|
|
178
|
+
# define DECLARE_PEM_write_fp_const(name, type) /**/
|
|
179
|
+
# define DECLARE_PEM_write_cb_fp(name, type) /**/
|
|
180
|
+
# else
|
|
181
|
+
|
|
182
|
+
# define DECLARE_PEM_read_fp(name, type) \
|
|
183
|
+
type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u);
|
|
184
|
+
|
|
185
|
+
# define DECLARE_PEM_write_fp(name, type) \
|
|
186
|
+
int PEM_write_##name(FILE *fp, type *x);
|
|
187
|
+
|
|
188
|
+
# define DECLARE_PEM_write_fp_const(name, type) \
|
|
189
|
+
int PEM_write_##name(FILE *fp, const type *x);
|
|
190
|
+
|
|
191
|
+
# define DECLARE_PEM_write_cb_fp(name, type) \
|
|
192
|
+
int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
|
|
193
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, void *u);
|
|
194
|
+
|
|
195
|
+
# endif
|
|
196
|
+
|
|
197
|
+
# define DECLARE_PEM_read_bio(name, type) \
|
|
198
|
+
type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u);
|
|
199
|
+
|
|
200
|
+
# define DECLARE_PEM_write_bio(name, type) \
|
|
201
|
+
int PEM_write_bio_##name(BIO *bp, type *x);
|
|
202
|
+
|
|
203
|
+
# define DECLARE_PEM_write_bio_const(name, type) \
|
|
204
|
+
int PEM_write_bio_##name(BIO *bp, const type *x);
|
|
205
|
+
|
|
206
|
+
# define DECLARE_PEM_write_cb_bio(name, type) \
|
|
207
|
+
int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
|
|
208
|
+
unsigned char *kstr, int klen, pem_password_cb *cb, void *u);
|
|
209
|
+
|
|
210
|
+
# define DECLARE_PEM_write(name, type) \
|
|
211
|
+
DECLARE_PEM_write_bio(name, type) \
|
|
212
|
+
DECLARE_PEM_write_fp(name, type)
|
|
213
|
+
# define DECLARE_PEM_write_const(name, type) \
|
|
214
|
+
DECLARE_PEM_write_bio_const(name, type) \
|
|
215
|
+
DECLARE_PEM_write_fp_const(name, type)
|
|
216
|
+
# define DECLARE_PEM_write_cb(name, type) \
|
|
217
|
+
DECLARE_PEM_write_cb_bio(name, type) \
|
|
218
|
+
DECLARE_PEM_write_cb_fp(name, type)
|
|
219
|
+
# define DECLARE_PEM_read(name, type) \
|
|
220
|
+
DECLARE_PEM_read_bio(name, type) \
|
|
221
|
+
DECLARE_PEM_read_fp(name, type)
|
|
222
|
+
# define DECLARE_PEM_rw(name, type) \
|
|
223
|
+
DECLARE_PEM_read(name, type) \
|
|
224
|
+
DECLARE_PEM_write(name, type)
|
|
225
|
+
# define DECLARE_PEM_rw_const(name, type) \
|
|
226
|
+
DECLARE_PEM_read(name, type) \
|
|
227
|
+
DECLARE_PEM_write_const(name, type)
|
|
228
|
+
# define DECLARE_PEM_rw_cb(name, type) \
|
|
229
|
+
DECLARE_PEM_read(name, type) \
|
|
230
|
+
DECLARE_PEM_write_cb(name, type)
|
|
231
|
+
typedef int pem_password_cb (char *buf, int size, int rwflag, void *userdata);
|
|
232
|
+
|
|
233
|
+
int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher);
|
|
234
|
+
int PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *len,
|
|
235
|
+
pem_password_cb *callback, void *u);
|
|
236
|
+
|
|
237
|
+
int PEM_read_bio(BIO *bp, char **name, char **header,
|
|
238
|
+
unsigned char **data, long *len);
|
|
239
|
+
# define PEM_FLAG_SECURE 0x1
|
|
240
|
+
# define PEM_FLAG_EAY_COMPATIBLE 0x2
|
|
241
|
+
# define PEM_FLAG_ONLY_B64 0x4
|
|
242
|
+
int PEM_read_bio_ex(BIO *bp, char **name, char **header,
|
|
243
|
+
unsigned char **data, long *len, unsigned int flags);
|
|
244
|
+
int PEM_bytes_read_bio_secmem(unsigned char **pdata, long *plen, char **pnm,
|
|
245
|
+
const char *name, BIO *bp, pem_password_cb *cb,
|
|
246
|
+
void *u);
|
|
247
|
+
int PEM_write_bio(BIO *bp, const char *name, const char *hdr,
|
|
248
|
+
const unsigned char *data, long len);
|
|
249
|
+
int PEM_bytes_read_bio(unsigned char **pdata, long *plen, char **pnm,
|
|
250
|
+
const char *name, BIO *bp, pem_password_cb *cb,
|
|
251
|
+
void *u);
|
|
252
|
+
void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x,
|
|
253
|
+
pem_password_cb *cb, void *u);
|
|
254
|
+
int PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp, void *x,
|
|
255
|
+
const EVP_CIPHER *enc, unsigned char *kstr, int klen,
|
|
256
|
+
pem_password_cb *cb, void *u);
|
|
257
|
+
|
|
258
|
+
STACK_OF(X509_INFO) *PEM_X509_INFO_read_bio(BIO *bp, STACK_OF(X509_INFO) *sk,
|
|
259
|
+
pem_password_cb *cb, void *u);
|
|
260
|
+
int PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc,
|
|
261
|
+
unsigned char *kstr, int klen,
|
|
262
|
+
pem_password_cb *cd, void *u);
|
|
263
|
+
|
|
264
|
+
#ifndef OPENSSL_NO_STDIO
|
|
265
|
+
int PEM_read(FILE *fp, char **name, char **header,
|
|
266
|
+
unsigned char **data, long *len);
|
|
267
|
+
int PEM_write(FILE *fp, const char *name, const char *hdr,
|
|
268
|
+
const unsigned char *data, long len);
|
|
269
|
+
void *PEM_ASN1_read(d2i_of_void *d2i, const char *name, FILE *fp, void **x,
|
|
270
|
+
pem_password_cb *cb, void *u);
|
|
271
|
+
int PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp,
|
|
272
|
+
void *x, const EVP_CIPHER *enc, unsigned char *kstr,
|
|
273
|
+
int klen, pem_password_cb *callback, void *u);
|
|
274
|
+
STACK_OF(X509_INFO) *PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk,
|
|
275
|
+
pem_password_cb *cb, void *u);
|
|
276
|
+
#endif
|
|
277
|
+
|
|
278
|
+
int PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type);
|
|
279
|
+
int PEM_SignUpdate(EVP_MD_CTX *ctx, unsigned char *d, unsigned int cnt);
|
|
280
|
+
int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
|
|
281
|
+
unsigned int *siglen, EVP_PKEY *pkey);
|
|
282
|
+
|
|
283
|
+
/* The default pem_password_cb that's used internally */
|
|
284
|
+
int PEM_def_callback(char *buf, int num, int rwflag, void *userdata);
|
|
285
|
+
void PEM_proc_type(char *buf, int type);
|
|
286
|
+
void PEM_dek_info(char *buf, const char *type, int len, char *str);
|
|
287
|
+
|
|
288
|
+
# include <openssl/symhacks.h>
|
|
289
|
+
|
|
290
|
+
DECLARE_PEM_rw(X509, X509)
|
|
291
|
+
DECLARE_PEM_rw(X509_AUX, X509)
|
|
292
|
+
DECLARE_PEM_rw(X509_REQ, X509_REQ)
|
|
293
|
+
DECLARE_PEM_write(X509_REQ_NEW, X509_REQ)
|
|
294
|
+
DECLARE_PEM_rw(X509_CRL, X509_CRL)
|
|
295
|
+
DECLARE_PEM_rw(PKCS7, PKCS7)
|
|
296
|
+
DECLARE_PEM_rw(NETSCAPE_CERT_SEQUENCE, NETSCAPE_CERT_SEQUENCE)
|
|
297
|
+
DECLARE_PEM_rw(PKCS8, X509_SIG)
|
|
298
|
+
DECLARE_PEM_rw(PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO)
|
|
299
|
+
# ifndef OPENSSL_NO_RSA
|
|
300
|
+
DECLARE_PEM_rw_cb(RSAPrivateKey, RSA)
|
|
301
|
+
DECLARE_PEM_rw_const(RSAPublicKey, RSA)
|
|
302
|
+
DECLARE_PEM_rw(RSA_PUBKEY, RSA)
|
|
303
|
+
# endif
|
|
304
|
+
# ifndef OPENSSL_NO_DSA
|
|
305
|
+
DECLARE_PEM_rw_cb(DSAPrivateKey, DSA)
|
|
306
|
+
DECLARE_PEM_rw(DSA_PUBKEY, DSA)
|
|
307
|
+
DECLARE_PEM_rw_const(DSAparams, DSA)
|
|
308
|
+
# endif
|
|
309
|
+
# ifndef OPENSSL_NO_EC
|
|
310
|
+
DECLARE_PEM_rw_const(ECPKParameters, EC_GROUP)
|
|
311
|
+
DECLARE_PEM_rw_cb(ECPrivateKey, EC_KEY)
|
|
312
|
+
DECLARE_PEM_rw(EC_PUBKEY, EC_KEY)
|
|
313
|
+
# endif
|
|
314
|
+
# ifndef OPENSSL_NO_DH
|
|
315
|
+
DECLARE_PEM_rw_const(DHparams, DH)
|
|
316
|
+
DECLARE_PEM_write_const(DHxparams, DH)
|
|
317
|
+
# endif
|
|
318
|
+
DECLARE_PEM_rw_cb(PrivateKey, EVP_PKEY)
|
|
319
|
+
DECLARE_PEM_rw(PUBKEY, EVP_PKEY)
|
|
320
|
+
|
|
321
|
+
int PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x,
|
|
322
|
+
const EVP_CIPHER *enc,
|
|
323
|
+
unsigned char *kstr, int klen,
|
|
324
|
+
pem_password_cb *cb, void *u);
|
|
325
|
+
|
|
326
|
+
int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid,
|
|
327
|
+
char *kstr, int klen,
|
|
328
|
+
pem_password_cb *cb, void *u);
|
|
329
|
+
int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *,
|
|
330
|
+
char *, int, pem_password_cb *, void *);
|
|
331
|
+
int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc,
|
|
332
|
+
char *kstr, int klen,
|
|
333
|
+
pem_password_cb *cb, void *u);
|
|
334
|
+
int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid,
|
|
335
|
+
char *kstr, int klen,
|
|
336
|
+
pem_password_cb *cb, void *u);
|
|
337
|
+
EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb,
|
|
338
|
+
void *u);
|
|
339
|
+
|
|
340
|
+
# ifndef OPENSSL_NO_STDIO
|
|
341
|
+
int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc,
|
|
342
|
+
char *kstr, int klen,
|
|
343
|
+
pem_password_cb *cb, void *u);
|
|
344
|
+
int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid,
|
|
345
|
+
char *kstr, int klen,
|
|
346
|
+
pem_password_cb *cb, void *u);
|
|
347
|
+
int PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid,
|
|
348
|
+
char *kstr, int klen,
|
|
349
|
+
pem_password_cb *cb, void *u);
|
|
350
|
+
|
|
351
|
+
EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb,
|
|
352
|
+
void *u);
|
|
353
|
+
|
|
354
|
+
int PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc,
|
|
355
|
+
char *kstr, int klen, pem_password_cb *cd,
|
|
356
|
+
void *u);
|
|
357
|
+
# endif
|
|
358
|
+
EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x);
|
|
359
|
+
int PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x);
|
|
360
|
+
|
|
361
|
+
# ifndef OPENSSL_NO_DSA
|
|
362
|
+
EVP_PKEY *b2i_PrivateKey(const unsigned char **in, long length);
|
|
363
|
+
EVP_PKEY *b2i_PublicKey(const unsigned char **in, long length);
|
|
364
|
+
EVP_PKEY *b2i_PrivateKey_bio(BIO *in);
|
|
365
|
+
EVP_PKEY *b2i_PublicKey_bio(BIO *in);
|
|
366
|
+
int i2b_PrivateKey_bio(BIO *out, EVP_PKEY *pk);
|
|
367
|
+
int i2b_PublicKey_bio(BIO *out, EVP_PKEY *pk);
|
|
368
|
+
# ifndef OPENSSL_NO_RC4
|
|
369
|
+
EVP_PKEY *b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u);
|
|
370
|
+
int i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel,
|
|
371
|
+
pem_password_cb *cb, void *u);
|
|
372
|
+
# endif
|
|
373
|
+
# endif
|
|
374
|
+
|
|
375
|
+
# ifdef __cplusplus
|
|
376
|
+
}
|
|
377
|
+
# endif
|
|
378
|
+
#endif
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 1999-2018 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
|
+
|
|
10
|
+
#ifndef HEADER_PEM2_H
|
|
11
|
+
# define HEADER_PEM2_H
|
|
12
|
+
# include <openssl/pemerr.h>
|
|
13
|
+
#endif
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Generated by util/mkerr.pl DO NOT EDIT
|
|
3
|
+
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
6
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
7
|
+
* in the file LICENSE in the source distribution or at
|
|
8
|
+
* https://www.openssl.org/source/license.html
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
#ifndef HEADER_PEMERR_H
|
|
12
|
+
# define HEADER_PEMERR_H
|
|
13
|
+
|
|
14
|
+
# ifndef HEADER_SYMHACKS_H
|
|
15
|
+
# include <openssl/symhacks.h>
|
|
16
|
+
# endif
|
|
17
|
+
|
|
18
|
+
# ifdef __cplusplus
|
|
19
|
+
extern "C"
|
|
20
|
+
# endif
|
|
21
|
+
int ERR_load_PEM_strings(void);
|
|
22
|
+
|
|
23
|
+
/*
|
|
24
|
+
* PEM function codes.
|
|
25
|
+
*/
|
|
26
|
+
# define PEM_F_B2I_DSS 127
|
|
27
|
+
# define PEM_F_B2I_PVK_BIO 128
|
|
28
|
+
# define PEM_F_B2I_RSA 129
|
|
29
|
+
# define PEM_F_CHECK_BITLEN_DSA 130
|
|
30
|
+
# define PEM_F_CHECK_BITLEN_RSA 131
|
|
31
|
+
# define PEM_F_D2I_PKCS8PRIVATEKEY_BIO 120
|
|
32
|
+
# define PEM_F_D2I_PKCS8PRIVATEKEY_FP 121
|
|
33
|
+
# define PEM_F_DO_B2I 132
|
|
34
|
+
# define PEM_F_DO_B2I_BIO 133
|
|
35
|
+
# define PEM_F_DO_BLOB_HEADER 134
|
|
36
|
+
# define PEM_F_DO_I2B 146
|
|
37
|
+
# define PEM_F_DO_PK8PKEY 126
|
|
38
|
+
# define PEM_F_DO_PK8PKEY_FP 125
|
|
39
|
+
# define PEM_F_DO_PVK_BODY 135
|
|
40
|
+
# define PEM_F_DO_PVK_HEADER 136
|
|
41
|
+
# define PEM_F_GET_HEADER_AND_DATA 143
|
|
42
|
+
# define PEM_F_GET_NAME 144
|
|
43
|
+
# define PEM_F_I2B_PVK 137
|
|
44
|
+
# define PEM_F_I2B_PVK_BIO 138
|
|
45
|
+
# define PEM_F_LOAD_IV 101
|
|
46
|
+
# define PEM_F_PEM_ASN1_READ 102
|
|
47
|
+
# define PEM_F_PEM_ASN1_READ_BIO 103
|
|
48
|
+
# define PEM_F_PEM_ASN1_WRITE 104
|
|
49
|
+
# define PEM_F_PEM_ASN1_WRITE_BIO 105
|
|
50
|
+
# define PEM_F_PEM_DEF_CALLBACK 100
|
|
51
|
+
# define PEM_F_PEM_DO_HEADER 106
|
|
52
|
+
# define PEM_F_PEM_GET_EVP_CIPHER_INFO 107
|
|
53
|
+
# define PEM_F_PEM_READ 108
|
|
54
|
+
# define PEM_F_PEM_READ_BIO 109
|
|
55
|
+
# define PEM_F_PEM_READ_BIO_DHPARAMS 141
|
|
56
|
+
# define PEM_F_PEM_READ_BIO_EX 145
|
|
57
|
+
# define PEM_F_PEM_READ_BIO_PARAMETERS 140
|
|
58
|
+
# define PEM_F_PEM_READ_BIO_PRIVATEKEY 123
|
|
59
|
+
# define PEM_F_PEM_READ_DHPARAMS 142
|
|
60
|
+
# define PEM_F_PEM_READ_PRIVATEKEY 124
|
|
61
|
+
# define PEM_F_PEM_SIGNFINAL 112
|
|
62
|
+
# define PEM_F_PEM_WRITE 113
|
|
63
|
+
# define PEM_F_PEM_WRITE_BIO 114
|
|
64
|
+
# define PEM_F_PEM_WRITE_BIO_PRIVATEKEY_TRADITIONAL 147
|
|
65
|
+
# define PEM_F_PEM_WRITE_PRIVATEKEY 139
|
|
66
|
+
# define PEM_F_PEM_X509_INFO_READ 115
|
|
67
|
+
# define PEM_F_PEM_X509_INFO_READ_BIO 116
|
|
68
|
+
# define PEM_F_PEM_X509_INFO_WRITE_BIO 117
|
|
69
|
+
|
|
70
|
+
/*
|
|
71
|
+
* PEM reason codes.
|
|
72
|
+
*/
|
|
73
|
+
# define PEM_R_BAD_BASE64_DECODE 100
|
|
74
|
+
# define PEM_R_BAD_DECRYPT 101
|
|
75
|
+
# define PEM_R_BAD_END_LINE 102
|
|
76
|
+
# define PEM_R_BAD_IV_CHARS 103
|
|
77
|
+
# define PEM_R_BAD_MAGIC_NUMBER 116
|
|
78
|
+
# define PEM_R_BAD_PASSWORD_READ 104
|
|
79
|
+
# define PEM_R_BAD_VERSION_NUMBER 117
|
|
80
|
+
# define PEM_R_BIO_WRITE_FAILURE 118
|
|
81
|
+
# define PEM_R_CIPHER_IS_NULL 127
|
|
82
|
+
# define PEM_R_ERROR_CONVERTING_PRIVATE_KEY 115
|
|
83
|
+
# define PEM_R_EXPECTING_PRIVATE_KEY_BLOB 119
|
|
84
|
+
# define PEM_R_EXPECTING_PUBLIC_KEY_BLOB 120
|
|
85
|
+
# define PEM_R_HEADER_TOO_LONG 128
|
|
86
|
+
# define PEM_R_INCONSISTENT_HEADER 121
|
|
87
|
+
# define PEM_R_KEYBLOB_HEADER_PARSE_ERROR 122
|
|
88
|
+
# define PEM_R_KEYBLOB_TOO_SHORT 123
|
|
89
|
+
# define PEM_R_MISSING_DEK_IV 129
|
|
90
|
+
# define PEM_R_NOT_DEK_INFO 105
|
|
91
|
+
# define PEM_R_NOT_ENCRYPTED 106
|
|
92
|
+
# define PEM_R_NOT_PROC_TYPE 107
|
|
93
|
+
# define PEM_R_NO_START_LINE 108
|
|
94
|
+
# define PEM_R_PROBLEMS_GETTING_PASSWORD 109
|
|
95
|
+
# define PEM_R_PVK_DATA_TOO_SHORT 124
|
|
96
|
+
# define PEM_R_PVK_TOO_SHORT 125
|
|
97
|
+
# define PEM_R_READ_KEY 111
|
|
98
|
+
# define PEM_R_SHORT_HEADER 112
|
|
99
|
+
# define PEM_R_UNEXPECTED_DEK_IV 130
|
|
100
|
+
# define PEM_R_UNSUPPORTED_CIPHER 113
|
|
101
|
+
# define PEM_R_UNSUPPORTED_ENCRYPTION 114
|
|
102
|
+
# define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126
|
|
103
|
+
# define PEM_R_UNSUPPORTED_PUBLIC_KEY_TYPE 110
|
|
104
|
+
|
|
105
|
+
#endif
|