codekingpro/portable-devtools
114k
1/*2 * Generated by util/mkerr.pl DO NOT EDIT3 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.4 *5 * Licensed under the Apache License 2.0 (the "License"). You may not use6 * this file except in compliance with the License. You can obtain a copy7 * in the file LICENSE in the source distribution or at8 * https://www.openssl.org/source/license.html9 */10 11#ifndef OPENSSL_ASN1ERR_H12# define OPENSSL_ASN1ERR_H13# pragma once14 15# include <openssl/opensslconf.h>16# include <openssl/symhacks.h>17# include <openssl/cryptoerr_legacy.h>18 19 20 21/*22 * ASN1 reason codes.23 */24# define ASN1_R_ADDING_OBJECT 17125# define ASN1_R_ASN1_PARSE_ERROR 20326# define ASN1_R_ASN1_SIG_PARSE_ERROR 20427# define ASN1_R_AUX_ERROR 10028# define ASN1_R_BAD_OBJECT_HEADER 10229# define ASN1_R_BAD_TEMPLATE 23030# define ASN1_R_BMPSTRING_IS_WRONG_LENGTH 21431# define ASN1_R_BN_LIB 10532# define ASN1_R_BOOLEAN_IS_WRONG_LENGTH 10633# define ASN1_R_BUFFER_TOO_SMALL 10734# define ASN1_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER 10835# define ASN1_R_CONTEXT_NOT_INITIALISED 21736# define ASN1_R_DATA_IS_WRONG 10937# define ASN1_R_DECODE_ERROR 11038# define ASN1_R_DEPTH_EXCEEDED 17439# define ASN1_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED 19840# define ASN1_R_ENCODE_ERROR 11241# define ASN1_R_ERROR_GETTING_TIME 17342# define ASN1_R_ERROR_LOADING_SECTION 17243# define ASN1_R_ERROR_SETTING_CIPHER_PARAMS 11444# define ASN1_R_EXPECTING_AN_INTEGER 11545# define ASN1_R_EXPECTING_AN_OBJECT 11646# define ASN1_R_EXPLICIT_LENGTH_MISMATCH 11947# define ASN1_R_EXPLICIT_TAG_NOT_CONSTRUCTED 12048# define ASN1_R_FIELD_MISSING 12149# define ASN1_R_FIRST_NUM_TOO_LARGE 12250# define ASN1_R_HEADER_TOO_LONG 12351# define ASN1_R_ILLEGAL_BITSTRING_FORMAT 17552# define ASN1_R_ILLEGAL_BOOLEAN 17653# define ASN1_R_ILLEGAL_CHARACTERS 12454# define ASN1_R_ILLEGAL_FORMAT 17755# define ASN1_R_ILLEGAL_HEX 17856# define ASN1_R_ILLEGAL_IMPLICIT_TAG 17957# define ASN1_R_ILLEGAL_INTEGER 18058# define ASN1_R_ILLEGAL_NEGATIVE_VALUE 22659# define ASN1_R_ILLEGAL_NESTED_TAGGING 18160# define ASN1_R_ILLEGAL_NULL 12561# define ASN1_R_ILLEGAL_NULL_VALUE 18262# define ASN1_R_ILLEGAL_OBJECT 18363# define ASN1_R_ILLEGAL_OPTIONAL_ANY 12664# define ASN1_R_ILLEGAL_OPTIONS_ON_ITEM_TEMPLATE 17065# define ASN1_R_ILLEGAL_PADDING 22166# define ASN1_R_ILLEGAL_TAGGED_ANY 12767# define ASN1_R_ILLEGAL_TIME_VALUE 18468# define ASN1_R_ILLEGAL_ZERO_CONTENT 22269# define ASN1_R_INTEGER_NOT_ASCII_FORMAT 18570# define ASN1_R_INTEGER_TOO_LARGE_FOR_LONG 12871# define ASN1_R_INVALID_BIT_STRING_BITS_LEFT 22072# define ASN1_R_INVALID_BMPSTRING_LENGTH 12973# define ASN1_R_INVALID_DIGIT 13074# define ASN1_R_INVALID_MIME_TYPE 20575# define ASN1_R_INVALID_MODIFIER 18676# define ASN1_R_INVALID_NUMBER 18777# define ASN1_R_INVALID_OBJECT_ENCODING 21678# define ASN1_R_INVALID_SCRYPT_PARAMETERS 22779# define ASN1_R_INVALID_SEPARATOR 13180# define ASN1_R_INVALID_STRING_TABLE_VALUE 21881# define ASN1_R_INVALID_UNIVERSALSTRING_LENGTH 13382# define ASN1_R_INVALID_UTF8STRING 13483# define ASN1_R_INVALID_VALUE 21984# define ASN1_R_LENGTH_TOO_LONG 23185# define ASN1_R_LIST_ERROR 18886# define ASN1_R_MIME_NO_CONTENT_TYPE 20687# define ASN1_R_MIME_PARSE_ERROR 20788# define ASN1_R_MIME_SIG_PARSE_ERROR 20889# define ASN1_R_MISSING_EOC 13790# define ASN1_R_MISSING_SECOND_NUMBER 13891# define ASN1_R_MISSING_VALUE 18992# define ASN1_R_MSTRING_NOT_UNIVERSAL 13993# define ASN1_R_MSTRING_WRONG_TAG 14094# define ASN1_R_NESTED_ASN1_STRING 19795# define ASN1_R_NESTED_TOO_DEEP 20196# define ASN1_R_NON_HEX_CHARACTERS 14197# define ASN1_R_NOT_ASCII_FORMAT 19098# define ASN1_R_NOT_ENOUGH_DATA 14299# define ASN1_R_NO_CONTENT_TYPE 209100# define ASN1_R_NO_MATCHING_CHOICE_TYPE 143101# define ASN1_R_NO_MULTIPART_BODY_FAILURE 210102# define ASN1_R_NO_MULTIPART_BOUNDARY 211103# define ASN1_R_NO_SIG_CONTENT_TYPE 212104# define ASN1_R_NULL_IS_WRONG_LENGTH 144105# define ASN1_R_OBJECT_NOT_ASCII_FORMAT 191106# define ASN1_R_ODD_NUMBER_OF_CHARS 145107# define ASN1_R_SECOND_NUMBER_TOO_LARGE 147108# define ASN1_R_SEQUENCE_LENGTH_MISMATCH 148109# define ASN1_R_SEQUENCE_NOT_CONSTRUCTED 149110# define ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG 192111# define ASN1_R_SHORT_LINE 150112# define ASN1_R_SIG_INVALID_MIME_TYPE 213113# define ASN1_R_STREAMING_NOT_SUPPORTED 202114# define ASN1_R_STRING_TOO_LONG 151115# define ASN1_R_STRING_TOO_SHORT 152116# define ASN1_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD 154117# define ASN1_R_TIME_NOT_ASCII_FORMAT 193118# define ASN1_R_TOO_LARGE 223119# define ASN1_R_TOO_LONG 155120# define ASN1_R_TOO_SMALL 224121# define ASN1_R_TYPE_NOT_CONSTRUCTED 156122# define ASN1_R_TYPE_NOT_PRIMITIVE 195123# define ASN1_R_UNEXPECTED_EOC 159124# define ASN1_R_UNIVERSALSTRING_IS_WRONG_LENGTH 215125# define ASN1_R_UNKNOWN_DIGEST 229126# define ASN1_R_UNKNOWN_FORMAT 160127# define ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM 161128# define ASN1_R_UNKNOWN_OBJECT_TYPE 162129# define ASN1_R_UNKNOWN_PUBLIC_KEY_TYPE 163130# define ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM 199131# define ASN1_R_UNKNOWN_TAG 194132# define ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE 164133# define ASN1_R_UNSUPPORTED_CIPHER 228134# define ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE 167135# define ASN1_R_UNSUPPORTED_TYPE 196136# define ASN1_R_WRONG_INTEGER_TYPE 225137# define ASN1_R_WRONG_PUBLIC_KEY_TYPE 200138# define ASN1_R_WRONG_TAG 168139 140#endif141 