1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT |
3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. |
4 | * |
5 | * Licensed under the Apache License 2.0 (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 OPENSSL_PEMERR_H |
12 | # define OPENSSL_PEMERR_H |
13 | # pragma once |
14 | |
15 | # include <openssl/macros.h> |
16 | # ifndef OPENSSL_NO_DEPRECATED_3_0 |
17 | # define |
18 | # endif |
19 | |
20 | # include <openssl/opensslconf.h> |
21 | # include <openssl/symhacks.h> |
22 | |
23 | |
24 | # ifdef __cplusplus |
25 | extern "C" |
26 | # endif |
27 | int ERR_load_PEM_strings(void); |
28 | |
29 | /* |
30 | * PEM function codes. |
31 | */ |
32 | # ifndef OPENSSL_NO_DEPRECATED_3_0 |
33 | # define PEM_F_B2I_DSS 0 |
34 | # define PEM_F_B2I_PVK_BIO 0 |
35 | # define PEM_F_B2I_RSA 0 |
36 | # define PEM_F_CHECK_BITLEN_DSA 0 |
37 | # define PEM_F_CHECK_BITLEN_RSA 0 |
38 | # define PEM_F_D2I_PKCS8PRIVATEKEY_BIO 0 |
39 | # define PEM_F_D2I_PKCS8PRIVATEKEY_FP 0 |
40 | # define PEM_F_DO_B2I 0 |
41 | # define PEM_F_DO_B2I_BIO 0 |
42 | # define 0 |
43 | # define PEM_F_DO_I2B 0 |
44 | # define PEM_F_DO_PK8PKEY 0 |
45 | # define PEM_F_DO_PK8PKEY_FP 0 |
46 | # define PEM_F_DO_PVK_BODY 0 |
47 | # define 0 |
48 | # define PEM_F_GET_HEADER_AND_DATA 0 |
49 | # define PEM_F_GET_NAME 0 |
50 | # define PEM_F_I2B_PVK 0 |
51 | # define PEM_F_I2B_PVK_BIO 0 |
52 | # define PEM_F_LOAD_IV 0 |
53 | # define PEM_F_PEM_ASN1_READ 0 |
54 | # define PEM_F_PEM_ASN1_READ_BIO 0 |
55 | # define PEM_F_PEM_ASN1_WRITE 0 |
56 | # define PEM_F_PEM_ASN1_WRITE_BIO 0 |
57 | # define PEM_F_PEM_DEF_CALLBACK 0 |
58 | # define 0 |
59 | # define PEM_F_PEM_GET_EVP_CIPHER_INFO 0 |
60 | # define PEM_F_PEM_READ 0 |
61 | # define PEM_F_PEM_READ_BIO 0 |
62 | # define PEM_F_PEM_READ_BIO_DHPARAMS 0 |
63 | # define PEM_F_PEM_READ_BIO_EX 0 |
64 | # define PEM_F_PEM_READ_BIO_PARAMETERS 0 |
65 | # define PEM_F_PEM_READ_BIO_PRIVATEKEY 0 |
66 | # define PEM_F_PEM_READ_DHPARAMS 0 |
67 | # define PEM_F_PEM_READ_PRIVATEKEY 0 |
68 | # define PEM_F_PEM_SIGNFINAL 0 |
69 | # define PEM_F_PEM_WRITE 0 |
70 | # define PEM_F_PEM_WRITE_BIO 0 |
71 | # define PEM_F_PEM_WRITE_PRIVATEKEY 0 |
72 | # define PEM_F_PEM_X509_INFO_READ 0 |
73 | # define PEM_F_PEM_X509_INFO_READ_BIO 0 |
74 | # define PEM_F_PEM_X509_INFO_WRITE_BIO 0 |
75 | # endif |
76 | |
77 | /* |
78 | * PEM reason codes. |
79 | */ |
80 | # define PEM_R_BAD_BASE64_DECODE 100 |
81 | # define PEM_R_BAD_DECRYPT 101 |
82 | # define PEM_R_BAD_END_LINE 102 |
83 | # define PEM_R_BAD_IV_CHARS 103 |
84 | # define PEM_R_BAD_MAGIC_NUMBER 116 |
85 | # define PEM_R_BAD_PASSWORD_READ 104 |
86 | # define PEM_R_BAD_VERSION_NUMBER 117 |
87 | # define PEM_R_BIO_WRITE_FAILURE 118 |
88 | # define PEM_R_CIPHER_IS_NULL 127 |
89 | # define PEM_R_ERROR_CONVERTING_PRIVATE_KEY 115 |
90 | # define PEM_R_EXPECTING_PRIVATE_KEY_BLOB 119 |
91 | # define PEM_R_EXPECTING_PUBLIC_KEY_BLOB 120 |
92 | # define 128 |
93 | # define 121 |
94 | # define 122 |
95 | # define PEM_R_KEYBLOB_TOO_SHORT 123 |
96 | # define PEM_R_MISSING_DEK_IV 129 |
97 | # define PEM_R_NOT_DEK_INFO 105 |
98 | # define PEM_R_NOT_ENCRYPTED 106 |
99 | # define PEM_R_NOT_PROC_TYPE 107 |
100 | # define PEM_R_NO_START_LINE 108 |
101 | # define PEM_R_PROBLEMS_GETTING_PASSWORD 109 |
102 | # define PEM_R_PVK_DATA_TOO_SHORT 124 |
103 | # define PEM_R_PVK_TOO_SHORT 125 |
104 | # define PEM_R_READ_KEY 111 |
105 | # define 112 |
106 | # define PEM_R_UNEXPECTED_DEK_IV 130 |
107 | # define PEM_R_UNSUPPORTED_CIPHER 113 |
108 | # define PEM_R_UNSUPPORTED_ENCRYPTION 114 |
109 | # define PEM_R_UNSUPPORTED_KEY_COMPONENTS 126 |
110 | |
111 | #endif |
112 | |