Copy as Markdown
Other Tools
/* automatically generated by rust-bindgen 0.69.4 */
pub mod SECErrorCodes {
pub type Type = ::std::os::raw::c_int;
pub const SEC_ERROR_IO: Type = -8192;
pub const SEC_ERROR_LIBRARY_FAILURE: Type = -8191;
pub const SEC_ERROR_BAD_DATA: Type = -8190;
pub const SEC_ERROR_OUTPUT_LEN: Type = -8189;
pub const SEC_ERROR_INPUT_LEN: Type = -8188;
pub const SEC_ERROR_INVALID_ARGS: Type = -8187;
pub const SEC_ERROR_INVALID_ALGORITHM: Type = -8186;
pub const SEC_ERROR_INVALID_AVA: Type = -8185;
pub const SEC_ERROR_INVALID_TIME: Type = -8184;
pub const SEC_ERROR_BAD_DER: Type = -8183;
pub const SEC_ERROR_BAD_SIGNATURE: Type = -8182;
pub const SEC_ERROR_EXPIRED_CERTIFICATE: Type = -8181;
pub const SEC_ERROR_REVOKED_CERTIFICATE: Type = -8180;
pub const SEC_ERROR_UNKNOWN_ISSUER: Type = -8179;
pub const SEC_ERROR_BAD_KEY: Type = -8178;
pub const SEC_ERROR_BAD_PASSWORD: Type = -8177;
pub const SEC_ERROR_RETRY_PASSWORD: Type = -8176;
pub const SEC_ERROR_NO_NODELOCK: Type = -8175;
pub const SEC_ERROR_BAD_DATABASE: Type = -8174;
pub const SEC_ERROR_NO_MEMORY: Type = -8173;
pub const SEC_ERROR_UNTRUSTED_ISSUER: Type = -8172;
pub const SEC_ERROR_UNTRUSTED_CERT: Type = -8171;
pub const SEC_ERROR_DUPLICATE_CERT: Type = -8170;
pub const SEC_ERROR_DUPLICATE_CERT_NAME: Type = -8169;
pub const SEC_ERROR_ADDING_CERT: Type = -8168;
pub const SEC_ERROR_FILING_KEY: Type = -8167;
pub const SEC_ERROR_NO_KEY: Type = -8166;
pub const SEC_ERROR_CERT_VALID: Type = -8165;
pub const SEC_ERROR_CERT_NOT_VALID: Type = -8164;
pub const SEC_ERROR_CERT_NO_RESPONSE: Type = -8163;
pub const SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE: Type = -8162;
pub const SEC_ERROR_CRL_EXPIRED: Type = -8161;
pub const SEC_ERROR_CRL_BAD_SIGNATURE: Type = -8160;
pub const SEC_ERROR_CRL_INVALID: Type = -8159;
pub const SEC_ERROR_EXTENSION_VALUE_INVALID: Type = -8158;
pub const SEC_ERROR_EXTENSION_NOT_FOUND: Type = -8157;
pub const SEC_ERROR_CA_CERT_INVALID: Type = -8156;
pub const SEC_ERROR_PATH_LEN_CONSTRAINT_INVALID: Type = -8155;
pub const SEC_ERROR_CERT_USAGES_INVALID: Type = -8154;
pub const SEC_INTERNAL_ONLY: Type = -8153;
pub const SEC_ERROR_INVALID_KEY: Type = -8152;
pub const SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION: Type = -8151;
pub const SEC_ERROR_OLD_CRL: Type = -8150;
pub const SEC_ERROR_NO_EMAIL_CERT: Type = -8149;
pub const SEC_ERROR_NO_RECIPIENT_CERTS_QUERY: Type = -8148;
pub const SEC_ERROR_NOT_A_RECIPIENT: Type = -8147;
pub const SEC_ERROR_PKCS7_KEYALG_MISMATCH: Type = -8146;
pub const SEC_ERROR_PKCS7_BAD_SIGNATURE: Type = -8145;
pub const SEC_ERROR_UNSUPPORTED_KEYALG: Type = -8144;
pub const SEC_ERROR_DECRYPTION_DISALLOWED: Type = -8143;
pub const XP_SEC_FORTEZZA_BAD_CARD: Type = -8142;
pub const XP_SEC_FORTEZZA_NO_CARD: Type = -8141;
pub const XP_SEC_FORTEZZA_NONE_SELECTED: Type = -8140;
pub const XP_SEC_FORTEZZA_MORE_INFO: Type = -8139;
pub const XP_SEC_FORTEZZA_PERSON_NOT_FOUND: Type = -8138;
pub const XP_SEC_FORTEZZA_NO_MORE_INFO: Type = -8137;
pub const XP_SEC_FORTEZZA_BAD_PIN: Type = -8136;
pub const XP_SEC_FORTEZZA_PERSON_ERROR: Type = -8135;
pub const SEC_ERROR_NO_KRL: Type = -8134;
pub const SEC_ERROR_KRL_EXPIRED: Type = -8133;
pub const SEC_ERROR_KRL_BAD_SIGNATURE: Type = -8132;
pub const SEC_ERROR_REVOKED_KEY: Type = -8131;
pub const SEC_ERROR_KRL_INVALID: Type = -8130;
pub const SEC_ERROR_NEED_RANDOM: Type = -8129;
pub const SEC_ERROR_NO_MODULE: Type = -8128;
pub const SEC_ERROR_NO_TOKEN: Type = -8127;
pub const SEC_ERROR_READ_ONLY: Type = -8126;
pub const SEC_ERROR_NO_SLOT_SELECTED: Type = -8125;
pub const SEC_ERROR_CERT_NICKNAME_COLLISION: Type = -8124;
pub const SEC_ERROR_KEY_NICKNAME_COLLISION: Type = -8123;
pub const SEC_ERROR_SAFE_NOT_CREATED: Type = -8122;
pub const SEC_ERROR_BAGGAGE_NOT_CREATED: Type = -8121;
pub const XP_JAVA_REMOVE_PRINCIPAL_ERROR: Type = -8120;
pub const XP_JAVA_DELETE_PRIVILEGE_ERROR: Type = -8119;
pub const XP_JAVA_CERT_NOT_EXISTS_ERROR: Type = -8118;
pub const SEC_ERROR_BAD_EXPORT_ALGORITHM: Type = -8117;
pub const SEC_ERROR_EXPORTING_CERTIFICATES: Type = -8116;
pub const SEC_ERROR_IMPORTING_CERTIFICATES: Type = -8115;
pub const SEC_ERROR_PKCS12_DECODING_PFX: Type = -8114;
pub const SEC_ERROR_PKCS12_INVALID_MAC: Type = -8113;
pub const SEC_ERROR_PKCS12_UNSUPPORTED_MAC_ALGORITHM: Type = -8112;
pub const SEC_ERROR_PKCS12_UNSUPPORTED_TRANSPORT_MODE: Type = -8111;
pub const SEC_ERROR_PKCS12_CORRUPT_PFX_STRUCTURE: Type = -8110;
pub const SEC_ERROR_PKCS12_UNSUPPORTED_PBE_ALGORITHM: Type = -8109;
pub const SEC_ERROR_PKCS12_UNSUPPORTED_VERSION: Type = -8108;
pub const SEC_ERROR_PKCS12_PRIVACY_PASSWORD_INCORRECT: Type = -8107;
pub const SEC_ERROR_PKCS12_CERT_COLLISION: Type = -8106;
pub const SEC_ERROR_USER_CANCELLED: Type = -8105;
pub const SEC_ERROR_PKCS12_DUPLICATE_DATA: Type = -8104;
pub const SEC_ERROR_MESSAGE_SEND_ABORTED: Type = -8103;
pub const SEC_ERROR_INADEQUATE_KEY_USAGE: Type = -8102;
pub const SEC_ERROR_INADEQUATE_CERT_TYPE: Type = -8101;
pub const SEC_ERROR_CERT_ADDR_MISMATCH: Type = -8100;
pub const SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY: Type = -8099;
pub const SEC_ERROR_PKCS12_IMPORTING_CERT_CHAIN: Type = -8098;
pub const SEC_ERROR_PKCS12_UNABLE_TO_LOCATE_OBJECT_BY_NAME: Type = -8097;
pub const SEC_ERROR_PKCS12_UNABLE_TO_EXPORT_KEY: Type = -8096;
pub const SEC_ERROR_PKCS12_UNABLE_TO_WRITE: Type = -8095;
pub const SEC_ERROR_PKCS12_UNABLE_TO_READ: Type = -8094;
pub const SEC_ERROR_PKCS12_KEY_DATABASE_NOT_INITIALIZED: Type = -8093;
pub const SEC_ERROR_KEYGEN_FAIL: Type = -8092;
pub const SEC_ERROR_INVALID_PASSWORD: Type = -8091;
pub const SEC_ERROR_RETRY_OLD_PASSWORD: Type = -8090;
pub const SEC_ERROR_BAD_NICKNAME: Type = -8089;
pub const SEC_ERROR_NOT_FORTEZZA_ISSUER: Type = -8088;
pub const SEC_ERROR_CANNOT_MOVE_SENSITIVE_KEY: Type = -8087;
pub const SEC_ERROR_JS_INVALID_MODULE_NAME: Type = -8086;
pub const SEC_ERROR_JS_INVALID_DLL: Type = -8085;
pub const SEC_ERROR_JS_ADD_MOD_FAILURE: Type = -8084;
pub const SEC_ERROR_JS_DEL_MOD_FAILURE: Type = -8083;
pub const SEC_ERROR_OLD_KRL: Type = -8082;
pub const SEC_ERROR_CKL_CONFLICT: Type = -8081;
pub const SEC_ERROR_CERT_NOT_IN_NAME_SPACE: Type = -8080;
pub const SEC_ERROR_KRL_NOT_YET_VALID: Type = -8079;
pub const SEC_ERROR_CRL_NOT_YET_VALID: Type = -8078;
pub const SEC_ERROR_UNKNOWN_CERT: Type = -8077;
pub const SEC_ERROR_UNKNOWN_SIGNER: Type = -8076;
pub const SEC_ERROR_CERT_BAD_ACCESS_LOCATION: Type = -8075;
pub const SEC_ERROR_OCSP_UNKNOWN_RESPONSE_TYPE: Type = -8074;
pub const SEC_ERROR_OCSP_BAD_HTTP_RESPONSE: Type = -8073;
pub const SEC_ERROR_OCSP_MALFORMED_REQUEST: Type = -8072;
pub const SEC_ERROR_OCSP_SERVER_ERROR: Type = -8071;
pub const SEC_ERROR_OCSP_TRY_SERVER_LATER: Type = -8070;
pub const SEC_ERROR_OCSP_REQUEST_NEEDS_SIG: Type = -8069;
pub const SEC_ERROR_OCSP_UNAUTHORIZED_REQUEST: Type = -8068;
pub const SEC_ERROR_OCSP_UNKNOWN_RESPONSE_STATUS: Type = -8067;
pub const SEC_ERROR_OCSP_UNKNOWN_CERT: Type = -8066;
pub const SEC_ERROR_OCSP_NOT_ENABLED: Type = -8065;
pub const SEC_ERROR_OCSP_NO_DEFAULT_RESPONDER: Type = -8064;
pub const SEC_ERROR_OCSP_MALFORMED_RESPONSE: Type = -8063;
pub const SEC_ERROR_OCSP_UNAUTHORIZED_RESPONSE: Type = -8062;
pub const SEC_ERROR_OCSP_FUTURE_RESPONSE: Type = -8061;
pub const SEC_ERROR_OCSP_OLD_RESPONSE: Type = -8060;
pub const SEC_ERROR_DIGEST_NOT_FOUND: Type = -8059;
pub const SEC_ERROR_UNSUPPORTED_MESSAGE_TYPE: Type = -8058;
pub const SEC_ERROR_MODULE_STUCK: Type = -8057;
pub const SEC_ERROR_BAD_TEMPLATE: Type = -8056;
pub const SEC_ERROR_CRL_NOT_FOUND: Type = -8055;
pub const SEC_ERROR_REUSED_ISSUER_AND_SERIAL: Type = -8054;
pub const SEC_ERROR_BUSY: Type = -8053;
pub const SEC_ERROR_EXTRA_INPUT: Type = -8052;
pub const SEC_ERROR_UNSUPPORTED_ELLIPTIC_CURVE: Type = -8051;
pub const SEC_ERROR_UNSUPPORTED_EC_POINT_FORM: Type = -8050;
pub const SEC_ERROR_UNRECOGNIZED_OID: Type = -8049;
pub const SEC_ERROR_OCSP_INVALID_SIGNING_CERT: Type = -8048;
pub const SEC_ERROR_REVOKED_CERTIFICATE_CRL: Type = -8047;
pub const SEC_ERROR_REVOKED_CERTIFICATE_OCSP: Type = -8046;
pub const SEC_ERROR_CRL_INVALID_VERSION: Type = -8045;
pub const SEC_ERROR_CRL_V1_CRITICAL_EXTENSION: Type = -8044;
pub const SEC_ERROR_CRL_UNKNOWN_CRITICAL_EXTENSION: Type = -8043;
pub const SEC_ERROR_UNKNOWN_OBJECT_TYPE: Type = -8042;
pub const SEC_ERROR_INCOMPATIBLE_PKCS11: Type = -8041;
pub const SEC_ERROR_NO_EVENT: Type = -8040;
pub const SEC_ERROR_CRL_ALREADY_EXISTS: Type = -8039;
pub const SEC_ERROR_NOT_INITIALIZED: Type = -8038;
pub const SEC_ERROR_TOKEN_NOT_LOGGED_IN: Type = -8037;
pub const SEC_ERROR_OCSP_RESPONDER_CERT_INVALID: Type = -8036;
pub const SEC_ERROR_OCSP_BAD_SIGNATURE: Type = -8035;
pub const SEC_ERROR_OUT_OF_SEARCH_LIMITS: Type = -8034;
pub const SEC_ERROR_INVALID_POLICY_MAPPING: Type = -8033;
pub const SEC_ERROR_POLICY_VALIDATION_FAILED: Type = -8032;
pub const SEC_ERROR_UNKNOWN_AIA_LOCATION_TYPE: Type = -8031;
pub const SEC_ERROR_BAD_HTTP_RESPONSE: Type = -8030;
pub const SEC_ERROR_BAD_LDAP_RESPONSE: Type = -8029;
pub const SEC_ERROR_FAILED_TO_ENCODE_DATA: Type = -8028;
pub const SEC_ERROR_BAD_INFO_ACCESS_LOCATION: Type = -8027;
pub const SEC_ERROR_LIBPKIX_INTERNAL: Type = -8026;
pub const SEC_ERROR_PKCS11_GENERAL_ERROR: Type = -8025;
pub const SEC_ERROR_PKCS11_FUNCTION_FAILED: Type = -8024;
pub const SEC_ERROR_PKCS11_DEVICE_ERROR: Type = -8023;
pub const SEC_ERROR_BAD_INFO_ACCESS_METHOD: Type = -8022;
pub const SEC_ERROR_CRL_IMPORT_FAILED: Type = -8021;
pub const SEC_ERROR_EXPIRED_PASSWORD: Type = -8020;
pub const SEC_ERROR_LOCKED_PASSWORD: Type = -8019;
pub const SEC_ERROR_UNKNOWN_PKCS11_ERROR: Type = -8018;
pub const SEC_ERROR_BAD_CRL_DP_URL: Type = -8017;
pub const SEC_ERROR_CERT_SIGNATURE_ALGORITHM_DISABLED: Type = -8016;
pub const SEC_ERROR_LEGACY_DATABASE: Type = -8015;
pub const SEC_ERROR_APPLICATION_CALLBACK_ERROR: Type = -8014;
pub const SEC_ERROR_INVALID_STATE: Type = -8013;
pub const SEC_ERROR_POLICY_LOCKED: Type = -8012;
pub const SEC_ERROR_SIGNATURE_ALGORITHM_DISABLED: Type = -8011;
pub const SEC_ERROR_ALGORITHM_MISMATCH: Type = -8010;
pub const SEC_ERROR_CERTIFICATE_COMPRESSION_ALGORITHM_NOT_SUPPORTED: Type = -8009;
pub const SEC_ERROR_UNEXPECTED_COMPRESSED_CERTIFICATE: Type = -8008;
pub const SEC_ERROR_END_OF_LIST: Type = -8007;
}