⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nzerror.h

📁 SQLAPI C/C++ 连接Oracle 数据库!
💻 H
📖 第 1 页 / 共 2 页
字号:
         /* No seed was specified to the PL/SQL seed initialization function */  NZERROR_TK_PLSQL_NO_BYTES = 28823,  /* Number of bytes was not specified to the PL/SQL random number generator */  NZERROR_TK_INVALID_STATE = 28824,                     /* Invalid encryption/decryption/signature state passed */  NZERROR_TK_PLSQL_NO_ENG_FUNC = 28825,                                  /* No crypto engine function was passed in */  NZERROR_TK_INV_ENG_FUNC = 28826,                          /* An invalid crypto engine function was passed in */  NZERROR_TK_INV_CIPHR_TYPE = 28827,                                     /* An invalid cipher type was passed in */  NZERROR_TK_INV_IDENT_TYPE = 28828,                                   /* An invalid identity type was specified */  NZERROR_TK_PLSQL_NO_CIPHER_TYPE = 28829,                                             /* No cipher type was specified */  NZERROR_TK_PLSQL_NO_IDENT_TYPE = 28830,                                           /* No identity type was specified */  NZERROR_TK_PLSQL_NO_DATA_FMT = 28831,                                        /* No data unit format was specified */  NZERROR_TK_INV_DATA_FMT = 28832,                        /* Invalid data unit format was provided to function */  NZERROR_TK_PLSQL_INSUFF_INFO = 28833,       /* Not enough info (usually parameters) provided to a PL/SQL function */  NZERROR_TK_PLSQL_BUF_TOO_SMALL = 28834,           /* Buffer provided by PL/SQL is too small for data to be returned */  NZERROR_TK_PLSQL_INV_IDENT_DESC = 28835,                             /* Identity descriptor not present or too small */  NZERROR_TK_PLSQL_WALLET_NOTOPEN = 28836,                                           /* Wallet has not been opened yet */  NZERROR_TK_PLSQL_NO_WALLET = 28837,                        /* No wallet descriptor specified to PL/SQL function */  NZERROR_TK_PLSQL_NO_IDENTITY = 28838,                      /* No identity descriptor specified to PL/SQL function */  NZERROR_TK_PLSQL_NO_PERSONA = 28839,                   /* No persona descriptor was specified to PL/SQL function */  NZERROR_TK_PLSQL_WALLET_OPEN = 28840,                                                /* Wallet was already opened */  NZERROR_UNSUPPORTED = 28841,                 /* Operation is not supported */  NZERROR_FILE_BAD_PERMISSION = 28842,      /* Bad file permission specified */  NZERROR_FILE_OSD_ERROR = 28843,             /* OSD error when opening file */  NZERROR_NO_WALLET  = 28844,  /* cert + privkey + tp files do not exist */  NZERROR_NO_CERTIFICATE_ALERT    = 28845,  /* no certificate */  NZERROR_NO_PRIVATE_KEY          = 28846,  /* no private-key */  NZERROR_NO_CLEAR_PRIVATE_KEY_FILE   = 28847,   /* no clear key-file */  NZERROR_NO_ENCRYPTED_PRIVATE_KEY_FILE = 28848,  /* no encrypted priv key */  NZERROR_NO_TRUSTPOINTS     = 28849,       /* no trustpoints */  NZERROR_NO_CLEAR_TRUSTPOINT_FILE    = 28850,   /* no clear trustpoints */  NZERROR_NO_ENCRYPTED_TRUSTPOINT_FILE = 28851,   /* no encrypted trustpoints */  NZERROR_BAD_PASSWORD    = 28852,   /* bad password */  NZERROR_INITIALIZATION_FAILED   =  28853, /* init failed or 					       module loading failed */  /******************************* SSL ERRORS ********************************/  /*   * In order to allow SSL errors to be mapped to Oracle errors, space is   * provided here. One Oracle error is provided for each SSL error to make   * error handling easier. A macro is provided to do the conversion.   * NOTE: ANY CHANGE IN SSL ERRORS MUST BE REFLECTED HERE.   * To add an SSL error, use the following formula to calculate the Oracle   * error:   * new_oracle_error = (new_ssl_error - SSLMemoryError) + NZERROR_SSLMemoryErr   * or numerically:   * new_oracle_error = (new_ssl_error - -7000) + 28854   */  NZERROR_SSLMemoryErr = 28854,  NZERROR_SSLUnsupportedErr = 28855,  NZERROR_SSLOverflowErr = 28856,  NZERROR_SSLUnknownErr = 28857,  NZERROR_SSLProtocolErr = 28858,  NZERROR_SSLNegotiationErr = 28859,  NZERROR_SSLFatalAlert = 28860,  NZERROR_SSLWouldBlockErr = 28861,  NZERROR_SSLIOErr = 28862,  NZERROR_SSLSessionNotFoundErr = 28863,  NZERROR_SSLConnectionClosedGraceful = 28864,  NZERROR_SSLConnectionClosedError = 28865,  NZERROR_ASNBadEncodingErr = 28866,  NZERROR_ASNIntegerTooBigErr = 28867,  NZERROR_X509CertChainInvalidErr = 28868,  NZERROR_X509CertExpiredErr = 28869,  NZERROR_X509NamesNotEqualErr = 28870,  NZERROR_X509CertChainIncompleteErr = 28871,  NZERROR_X509DataNotFoundErr = 28872,  NZERROR_SSLBadParameterErr = 28873,  NZERROR_SSLIOClosedOverrideGoodbyeKiss = 28874,  NZERROR_X509MozillaSGCErr  =  28875,  NZERROR_X509IESGCErr       =  28876,  NZERROR_ImproperServerCredentials = 28877,  NZERROR_ImproperClientCredentials = 28878,  NZERROR_NoProtocolSideSet = 28879,  NZERROR_setPersonaFailed = 28880,  NZERROR_setCertFailed = 28881,  NZERROR_setVKeyFailed = 28882,  NZERROR_setTPFailed = 28883,  NZERROR_BadCipherSuite = 28884,  NZERROR_NoKeyPairForKeyUsage = 28885,/* ============>>>  ENTRUST ERRORS */  NZERROR_EntrustLoginFailed = 28890,  NZERROR_EntrustGetInfoFailed = 28891,  NZERROR_EntrustLoadCertificateFailed = 28892,  NZERROR_EntrustGetNameFailed = 28893,/* ============>>> NZERRORS CONTINUED */  NZERROR_CertNotInstalled = 29000,  NZERROR_NoMatchingKeyPair = 29001,  NZERROR_ServerDNMisMatched = 29002,  NZERROR_ServerDNMisConfigured = 29003,  /* ============>>> PKCS12 error 29100 - 29149  */    NZERROR_LOCKEYID_CREATE_FAILED = 29100,  NZERROR_P12_ADD_PVTKEY_FAILED = 29101,  NZERROR_P12_ADD_CERT_FAILED = 29102,  NZERROR_P12_WLT_CREATE_FAILED = 29103,  NZERROR_P12_ADD_CERTREQ_FAILED = 29104,  NZERROR_P12_WLT_EXP_FAILED = 29105,  NZERROR_P12_WLT_IMP_FAILED = 29106,  NZERROR_P12_CREATE_FAILED = 29107,  NZERROR_P12_DEST_FAILED = 29107,  NZERROR_P12_RAND_ERROR = 29108,   NZERROR_P12_PVTKEY_CRT_FAILED = 29109,  NZERROR_P12_INVALID_BAG = 29110,  NZERROR_P12_INVALID_INDEX = 29111,  NZERROR_P12_GET_CERT_FAILED = 29112,  NZERROR_P12_GET_PVTKEY_FAILED = 29113,  NZERROR_P12_IMP_PVTKEY_FAILED = 29114,  NZERROR_P12_EXP_PVTKEY_FAILED = 29115,  NZERROR_P12_GET_ATTRIB_FAILED = 29116,  NZERROR_P12_ADD_ATTRIB_FAILED = 29117,  NZERROR_P12_CRT_ATTRIB_FAILED = 29118,  NZERROR_P12_IMP_CERT_FAILED = 29119,  NZERROR_P12_EXP_CERT_FAILED = 29120,/* ============>>> EXTENSIONS Errors 29140 - 29149 */  NZERROR_BS_CERTOBJ_CREAT_FAILED = 29140,  NZERROR_BS_DER_IMP_FAILED = 29141,/* ============>>> PKI VENDORS ERRORS 29150 - 29200 *//* ============>>>  ADD ERRORS HERE -- NOTE DECREASING numbers */  NZERROR_DN_MATCH  =            29222,  /* for nztCompareDN */  NZERROR_CERT_CHAIN_CREATION  = 29223,  /* unable to create a cert chain					  * with the existing TPs for the 					  * cert to be installed. 					  */  NZERROR_NO_MATCHING_CERT_REQ = 29224,  /* No matching cert_req was 					  * found the corresponding to					  * the privatekey which					  * matches the cert to be					  * installed */  NZERROR_CERT_ALREADY_INSTALLED = 29225, /* we are attempting to					   * install a cert again into					   * a persona which already 					   * has it installed.					   */  NZERROR_NO_MATCHING_PRIVATE_KEY = 29226, /* could not find a matching 					    * persona-private(privatekey) in					    * the Persona, for the given					    * cert(public key). 					    */  NZERROR_VALIDITY_EXPIRED = 29227, /* certificate validity date expired */  NZERROR_TK_BYTES_NEEDED = 29228,   /* Couldn't determine # of bytes needed */  NZERROR_TK_BAD_MAGIC_NUMBER = 29229,                     /* Magic number found in header does not match expected */  NZERROR_TK_BAD_HEADER_LENGTH = 29230,                /* Header length passed in not sufficient for message header */  NZERROR_TK_CE_INIT = 29231,          /* Crypto engine failed to initialize */  NZERROR_TK_CE_KEYINIT = 29232,  /* Crypto engine key initialization failed */  NZERROR_TK_CE_ENCODE_KEY = 29233,           /* Count not encode key object */  NZERROR_TK_CE_DECODE_KEY = 29234,      /* Could not decode key into object */  NZERROR_TK_CE_GEYKEYINFO = 29235,  /* Crypto engine failed to get key info */  NZERROR_TK_SEED_RANDOM = 29236,   /* Couldn't seed random number generator */  NZERROR_TK_CE_ALGFINISH = 29237,              /* Couldn't finish algorithm */  NZERROR_TK_CE_ALGAPPLY = 29238,        /* Couldn't apply algorithm to data */  NZERROR_TK_CE_ALGINIT = 29239,           /* Couldn't init CE for algorithm */  NZERROR_TK_ALGORITHM = 29240,      /* Have no idea what algorithm you want */  NZERROR_TK_CANNOT_GROW = 29241,         /* Cannot grow output buffer block */  NZERROR_TK_KEYSIZE = 29242,               /* Key not large enough for data */  NZERROR_TK_KEYTYPE = 29243,                           /* Unknown key type. */  NZERROR_TK_PLSQL_NO_WRL = 29244,                 /* Wallet resource locator not specified to PL/SQL function */  NZERROR_TK_CE_FUNC = 29245,              /* Unknown crypto engine function */  NZERROR_TK_TDU_FORMAT = 29246,                       /* Unknown TDU format */  NZERROR_TK_NOTOPEN = 29247,                         /* Object must be open */  NZERROR_TK_WRLTYPE = 29248,                                /* Bad WRL type */  NZERROR_TK_CE_STATE = 29249,  /* Bad state specified for the crypto engine */  NZERROR_LAST_ERROR = 29249,                        /* Last available error */                                            /* MAXIMUM ERROR NUMBER IS 29249 */  /*   * DO NOT JUST INSERT NEW ERRORS IN ANY OLD PLACE.  New errors should be   * added such the current error retains their integer values. Duplicate   * values will cause compiler errors.   */  NZERROR_THIS_MUST_BE_LAST} nzerror;/* * Macro to convert SSL errors to Oracle errors. As SSL errors are negative * and Oracle numbers are positive, the following needs to be done. * 1. The base error number, which is the highest, is added to the *    SSL error to get the index into the number range. * 2. The result is added to the base Oracle number to get the Oracle error. */#define NZERROR_SSL_TO_ORACLE(ssl_error_) \  ((ssl_error_ == SSLNoErr) \   ? NZERROR_OK \   : (nzerror) ((ssl_error_ - SSLMemoryErr) + (uword) NZERROR_SSLMemoryErr))#endif /* NZERROR_ORACLE */ 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -