RSA Security logo

RSA BSAFE Cert-C
API Reference

Cert-C Error Codes (Alphabetical) Listed by Hex Value | Listed by Category
Returned Value Hex Dec Description Category
E_ALLOC 0x0700 1792 Out of memory General
E_APPL_CTX 0x073e 1854 Invalid application context APPL_CTX
E_ATTRIBUTE_TAG 0x070d 1805 Attribute tag is invalid Attributes
E_ATTRIBUTE_TYPE 0x070e 1806 Attribute type is invalid Attributes
E_ATTRIBUTE_TYPE_LEN 0x070f 1807 Attribute type length is invalid Attributes
E_ATTRIBUTE_TYPE_NOT_FOUND 0x0710 1808 Attribute not found Attributes
E_ATTRIBUTE_VALUE 0x0711 1809 Attribute value is invalid Attributes
E_ATTRIBUTE_VALUE_INDEX 0x0713 1811 Index out of bounds Attributes
E_ATTRIBUTE_VALUE_LEN 0x0712 1810 Attribute value length is invalid Attributes
E_ATTRIBUTES_ENCODING 0x0714 1812 Invalid encoding format for attributes Attributes
E_ATTRIBUTES_OBJ 0x0715 1813 Invalid attributes object Attributes
E_BER_ENCODING 0x0701 1793 Certificate extension error: the extension is poorly encoded, or the same extension type appears more than once in an extensions object General
E_BUSY 0x0793 1939 Requested service is busy PKI OCSP Revocation Status Provider
E_C_CMS_OBJ 0x07d0 2000 Invalid CMS object PKCS #7
E_CANCEL 0x0702 1794 Operation was cancelled by the surrender function General
E_CANT_ASSOCIATE_CERT_WITH_KEY 0x07A5 1957 Cannot associate certificate with private key Crypto API
E_CERT_EXTENSIONS 0x072a 1834 Invalid encoded format for extensions CERT_REQUEST_OBJ, PKCS10_OBJ
E_CERT_FIELDS 0x0726 1830 CertFields parameter is null CERT_OBJ
E_CERT_OBJ 0x0727 1831 Certificate object is invalid CERT_OBJ
E_CERT_REQUEST_ENCODING 0x072f 1839 Invalid encoded format for certificate request CERT_REQUEST_OBJ, PKCS10_OBJ
E_CERT_REQUEST_FIELDS 0x072b 1835 Certificate request fields parameter is null CERT_REQUEST_OBJ, PKCS10_OBJ
E_CERT_REQUEST_OBJ 0x072c 1836 Certificate request object is invalid CERT_REQUEST_OBJ, PKCS10_OBJ
E_CERT_REQUEST_VERSION 0x072d 1837 Certificate request version is incorrect CERT_REQUEST_OBJ, PKCS10_OBJ
E_CERT_SERIAL 0x0728 1832 [UNUSED] CERT_OBJ
E_CERT_TEMPLATE_OBJ 0x0798 1944 Certificate template object is invalid PKI
E_CERT_VERSION 0x0729 1833 Certificate version is incorrect CERT_OBJ
E_CERTC_CTX 0x07f0 2032 Invalid CERTC_CTX General
E_CMSF_OPTION 0x0763 1891 CMS option is not supported PKCS #7
E_COMPUTE_ASN_SIGNATURE 0x0718 1816 Error computing digital signature CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_COMPUTE_DIGEST 0x0719 1817 Error computing digest CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_CRL_ENTRIES_OBJ 0x0730 1840 CRL entries object is invalid CRL_OBJ
E_CRL_ENTRY_EXTENSIONS 0x0731 1841 Invalid encoded format for extensions CRL_OBJ
E_CRL_EXTENSIONS 0x0732 1842 Invalid encoded format for extensions CRL_OBJ
E_CRL_FIELDS 0x0733 1843 CrlFields parameter is null CRL_OBJ
E_CRL_OBJ 0x0734 1844 CRL object is invalid CRL_OBJ
E_CRL_VERSION 0x0735 1845 CRL version is incorrect CRL_OBJ
E_CRYPTO 0x074b 1867 Generic crypto service provider error Service Provider
E_DATA 0x0703 1795 Generic data error General
E_DB 0x074a 1866 Generic database service provider error Service Provider
E_DEFAULT_STANDARD_EXTENSION 0x073f 1855 Tried to unregister a default standard extension Registering Extensions
E_DELETE 0x07A2 1954 Cannot delete cert/CRL/ key Crypto API
E_DER_UNKNOWN 0x071a 1818 Encoded data is missing CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_DIGEST_ALG_NOT_SUPPORTED 0x0760 1888 Message digest algorithms not supported PKCS #7
E_DIGEST_NOT_MATCHED 0x0761 1889 Digest does not match PKCS #7
E_DUPLICATE_SERVICE 0x0745 1861 Duplicate service provider not allowed Service Provider
E_ENCRYPT_ALG_NOT_SUPPORTED 0x0762 1890 Message encryption algorithms not supported PKCS #7
E_EOS 0x0747 1863 End of i/o stream Service Provider
E_EXTENSION_ALREADY_EXISTS 0x0737 1847 Extensions object already contains given extension EXTENSIONS_OBJ
E_EXTENSION_TYPE_NOT_ALLOWED 0x0738 1848 Extension type not allowed this type of object EXTENSIONS_OBJ
E_EXTENSIONS_OBJ 0x0739 1849 Invalid extensions object EXTENSIONS_OBJ
E_EXTENSIONS_OBJ_TYPE 0x0740 1856 Invalid extensions object type Registering Extensions
E_HMAC_FAILED 0x07A6 1958 HMAC validation failed General
E_INDEX 0x0704 1796 Index out of bounds General
E_INNER_DER_UNKNOWN 0x071c 1820 Invalid encoded format for certificate request CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_INPUT_DATA 0x0705 1797 Invalid encoding format for input data General
E_INPUT_LEN 0x0706 1798 Invalid total length for input data General
E_INSERT 0x07A0 1952 Cannot insert cert/CRL/ key Crypto API
E_INVALID_CRITICALITY 0x073a 1850 Encoded as non-critical but registered as critical EXTENSIONS_OBJ
E_INVALID_HANDLER 0x0741 1857 Handler is missing required function pointers Registering Extensions
E_INVALID_PARAMETER 0x0707 1799 Invalid function parameter General
E_INVALID_SIGNATURE 0x072e 1838 Error verifying digital signature CERT_REQUEST_OBJ, PKCS10_OBJ
E_IO 0x0746 1862 Generic i/o service provider error Service Provider
E_ISSUER_NAME 0x071d 1821 Invalid encoded format for issuer name CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_KEY 0x07A4 1956 Invalid key, key specs, etc. Crypto API
E_KEY_ENCRYPTION_ALG_NOT_SUPPORTED 0x0766 1894 Recipient key encryption algorithm not supported PKCS #7
E_KEY_TYPE_NOT_SUPPORTED 0x071b 1819 Key info type not supported CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_LDAP_ATTR_NOTFOUND 0x0774 1908 DN or search filter component not found in subject name LDAP
E_LDAP_ATTRLIST 0x0773 1907 Problem building base DN or search filter for LDAP search LDAP
E_LDAP_ERROR 0x0770 1904 Generic LDAP error. LDAP return codes provide more information LDAP
E_LDAP_NO_SUCH_OBJECT 0x0771 1905 LDAP operation failed, returned LDAP_NO_ SUCH_OBJECT LDAP
E_LDAP_UNBIND 0x0772 1906 LDAP unbind failed LDAP
E_LIST_OBJ 0x0736 1846 List object is invalid CRL_OBJ
E_LOG 0x0748 1864 Generic log service provider error Service Provider
E_MESSAGE_TYPE_NOT_VALID 0x0764 1892 Message type not valid PKCS #7
E_MULTIPLE_VALUES_NOT_ALLOWED 0x073b 1851 Extension is single- valued EXTENSIONS_OBJ
E_NAME_ENCODING 0x0717 1815 Invalid encoded format for name Name
E_NAME_OBJ 0x0716 1814 Invalid name object Name
E_NO_SERVICE 0x0744 1860 Service provider not found Service Provider
E_NOT_AUTHORIZED 0x0794 1940 Not authorized or identified to use service PKI, OCSP Revocation Status Provider
E_NOT_FOUND 0x0708 1800 No matching entry found General
E_NOT_SUPPORTED 0x0709 1801 Operation not supported General
E_NOT_VALIDATED 0x0751 1873 Validation process failed Cert Path Provider
E_NOURI 0x0796 1942 Missing URI information; unable to make request PKI
E_OID_MISMATCH 0x07e0 2016 OIDs do not match General
E_OS_PLATFORM 0x0792 1938 Platform-specific error (library binding, etc.) PKI
E_OUTPUT_LEN 0x070a 1802 Output buffer is too small General
E_OVER_32K 0x070b 1803 Data block exceeds 32767 bytes General
E_OVERRIDE_CRITICAL_NOT_ALLOWED 0x0743 1859 Registered criticality may not be changed Registering Extensions
E_OVERRIDE_HANDLER_NOT_ALLOWED 0x0742 1858 Handler may not be overridden Registering Extensions
E_PATH_ALG_NOT_SUPPORTED 0x0752 1874 Path algorithm not supported Cert Path Provider
E_PATH_NOT_FOUND 0x0750 1872 Valid cert path not found Cert Path Provider
E_PATH_POLICY 0x0754 1876 Required policy not present or the path is not validated under the given user policies Cert Path Provider
E_PATH_POLICY_MAPPING 0x0755 1877 Illegal policy mapping detected in the Issuer Domain Policy Cert Path Provider
E_PATH_PROVIDER 0x0753 1875 Path provider specific warning Cert Path Provider
E_PKCS10_ENCODING 0x072f 1839 Encoding is incorrect CERT_REQUEST_OBJ, PKCS10_OBJ
E_PKCS10_FIELDS 0x072b 1835 Fields are invalid CERT_REQUEST_OBJ, PKCS10_OBJ
E_PKCS10_OBJ 0x072c 1836 Object is invalid CERT_REQUEST_OBJ, PKCS10_OBJ
E_PKCS10_VERSION 0x072d 1837 Version is incorrect CERT_REQUEST_OBJ, PKCS10_OBJ
E_PKCS11DB_BAD_PIN 0x07C7 1991 PIN is incorrect, expired, or locked PKCS #11 Database Provider
E_PKCS11DB_CRYPTOKIFUNCTIONS 0x07C1 1985 Cryptoki function list not obtained or provided PKCS #11 Database Provider
E_PKCS11DB_INIT_LIBRARY 0x07C2 1986 PKCS #11 library could not be initialized PKCS #11 Database Provider
E_PKCS11DB_LIBRARY_ERROR 0x07C0 1984 PKCS #11 library error PKCS #11 Database Provider
E_PKCS11DB_LIBRARY_NOT_FOUND 0x07c9 1993 PKCS #11 library not found PKCS #11 Database Provider
E_PKCS11DB_LIBRARY_VERSION 0x07C3 1987 PKCS #11 library is back-level PKCS #11 Database Provider
E_PKCS11DB_LOGIN_FAILED 0x07C8 1992 Unable to login PKCS #11 session PKCS #11 Database Provider
E_PKCS11DB_NO_TOKENS_PRESENT 0x07C5 1989 No tokens found in any slot PKCS #11 Database Provider
E_PKCS11DB_OPEN_SESSION 0x07C4 1988 Could not open session to the token PKCS #11 Database Provider
E_PKCS11DB_TOKEN_NOT_FOUND 0x07C6 1990 Unable to find token with given label PKCS #11 Database Provider
E_PKI_INCORRECT_MSGTYPE 0x0789 1929 Incorrect message type PKI
E_PKI_INVALID_CONFIGURATION 0x0786 1926 Configuration information specified incorrectly PKI
E_PKI_MISSING_POP 0x0784 1924 Required Proof-of-Possession missing PKI
E_PKI_MSG_INVALID 0x0780 1920 Message BER/DER is malformed PKI
E_PKI_MSG_OBJ 0x0781 1921 PKI message object is invalid PKI
E_PKI_MSG_TYPE 0x0782 1922 PKI message object is not the correct type PKI
E_PKI_NONCE_MISMATCH 0x0785 1925 Sender and recipient nonce mismatch PKI, OCSP Revocation Status Provider
E_PKI_OBJ 0x0797 1943 Invalid PKI_xxx object PKI
E_PKI_SIGNER_COUNT 0x0783 1923 Number of expected verified signers incorrect PKI, OCSP Revocation Status Provider
E_PKI_TRANSACTION_ID_MISMATCH 0x0787 1927 Sender and recipient transaction ID mismatch PKI
E_PKI_TRANSPORT 0x078a 1930 Data transport i/o error PKI, OCSP Revocation Status Provider
E_PKI_UNEXPECTED_DATA 0x0788 1928 Data unanticipated by provider PKI, OCSP Revocation Status Provider
E_PRIVATE_KEY 0x071e 1822 Private key is null or does not match public key CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_PROV_DLL_NOT_FOUND 0x07A7 1959 Provider DLL not found Crypto API
E_PROVIDER 0x07A3 1955 CSP-related error (cannot acquire context, etc.) Crypto API
E_PUBLIC_KEY 0x071f 1823 Public key is null CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_RETRIEVE 0x07A1 1953 Cannot retrieve cert/ CRL/key Crypto API
E_SERVER_FAILURE 0x0795 1941 Server internal error handling request PKI, OCSP Revocation Status Provider
E_SIGN_MACRO_OBJECT 0x0720 1824 [UNUSED] CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_SIGN_VALUE_UNKNOWN 0x0721 1825 Encoded data to be signed is missing CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_SIGNATURE_ALG_NOT_SUPPORTED 0x0722 1826 Signature algorithm not supported CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_SIGNATURE_ALG_UNKNOWN 0x0723 1827 Signature algorithm identifier is missing CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_STATUS_INFO_OBJ 0x0799 1945 Status information object is invalid PKI
E_SUBJECT_NAME 0x0724 1828 Invalid encoded format for subject name CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_SURRENDER 0x0749 1865 Generic surrender service provider error Service Provider
E_TIMEOUT 0x0791 1937 Timeout occurred during operation PKI
E_UNKNOWN_CRITICAL_EXTENSION 0x073c 1852 No handler for critical extension EXTENSIONS_OBJ
E_URL_ENCODING 0x0790 1936 Data incorrectly URL- encoded PKI
E_VALIDITY 0x070c 1804 Validity period start later than end General
E_VALUE_NOT_SET 0x07a8 1960 Value not set General
E_VALUE_INDEX 0x073d 1853 Extension value index out of bounds EXTENSIONS_OBJ
E_VERIFY_ASN_SIGNATURE 0x0725 1829 Error verifying digital signature CERT_OBJ, CERT_REQUEST_OBJ, PKCS10_OBJ, CRL_OBJ
E_VERSION_NOT_SUPPORTED 0x0765 1893 Version of message not supported PKCS #7
Top 



RSA BSAFE® Cert-C 2.7 API Reference