Security Guide : VisiSecure Error Codes

VisiSecure Error Codes
This appendix provides information about error codes for VisiSecure.
The tables in the subsequent sections list most of the minor codes and their corresponding descriptions that accompany the CORBA system exceptions thrown from within VisiSecure for Java or VisiSecure for C++. The identifier (ERROR_ID) helps you to identify or represent these errors inside the code as illustrated in the following sections.
Modifying minor codes in C++
The header file "vbsecminors.h" needs to be included for ERROR_IDs to be made available. Then, in the code, you can use vbsec::MinorCodes::<ERROR_ID>.
For example, vbsec::MinorCodes::ERROR_PARSING_CERTIFICATE helps to identify a given error (returned in the form of minor code as part of a CORBA system exception).
Modifying minor codes in Java
You can use com.borland.security.util.MinorCodes.<ERROR_ID>.
For example, com.borland.security.util.MinorCodes.ERROR_PARSING_CERTIFICATE can be used to identify a given error (returned in the form of minor code as part of a CORBA system exception).
The static method String getMinorCodeDescription (int minor) of class com.borland.security.util.MinorCodesUtil can be used to fetch the brief textual description of the error code.
General Errors
PKI Errors
SSL Errors
The following are the translation of SSL Error alerts as defined in the TLS protocol (see http://tools.ietf.org/html/rfc5246#section-7.2.2).
PKCS12 Errors
General Security Policies (GSP) Errors
Common Secure Interoperable (CSI) Errors
Authentication Errors
Authorization Errors