Skip to main content

Cpp TEAdmin and TEAgent Error Messages

© Pi Soft, 2018-2026 · Tricryption Engine 8.1

The messages the C++ and C client libraries raise themselves, by the groups of teexception.msg. A refusal from the key server carries the server's own message instead, and is not listed here.

Generic error​

CodeMessage
ERR_GEN_UNEXPECTEDunexpected error
ERR_GEN_EMPTY_BUFFERempty buffer
ERR_GEN_SYSTEMTricryption Engine system error
ERR_GEN_NOT_SUPPORTEDthis method is not supported
ERR_GEN_INVALID_RETURNInvalid return value

Communication errors​

CodeMessage
ERR_COMM_TYPEwrong connection type
ERR_COMM_HANDLEwrong connection handle
ERR_COMM_FLUSHflush error
ERR_CONN_OPENopen connection error
ERR_CONN_CLOSEclose connection error
ERR_CONN_NOT_CONNECTEDnot connected
ERR_CONN_GET_HNDLget connection handle error
ERR_CONN_CHANNEL_BINDINGchannel binding unavailable
ERR_CONN_CRE_INSTcreate connection instance error
ERR_CONN_GET_INSTANCETEConnection::getInstance:get connection instance error
ERR_CONN_CRE_INSTANCETEConnection::createInstance:create connection instance error
ERR_ATTACH_CONNattach connection error
ERR_DETACH_CONNdetach connection error
ERR_CONN_NULLnull connection
ERR_SECCONN_GET_SESSIONget secure session error
ERR_SECCONN_SET_SESSIONset secure session error

Connection pool error​

CodeMessage
ERR_WRONG_SIZEwrong pool size

Crypto errors​

CodeMessage
ERR_CRYPTO_ENCRYPTencryption error
ERR_CRYPTO_DECRYPTdecryption error
ERR_CRYPTO_PROCESSprocess error
ERR_CRYPTO_HASHhash error
ERR_CRYPTO_HMACkeyed hash (HMAC-SHA384) error
ERR_CRYPTO_PKCS5VERinvalid PKCS5 version
ERR_CRYPTO_FIPS_UNAVAILABLEFIPS mode unavailable
ERR_NULL_HIDDENLINKprovided hidden link cannot be null nor empty
ERR_CRYPTO_SET_CIPHERset cipher algorithm error
ERR_CRYPTO_GET_CIPHERget cipher algorithm error
ERR_MIN_CHUNK_SIZEchunk size is too small
ERR_GET_TEMP_FILE_NAMEget temporary file name failed

Get Key Error​

CodeMessage
ERR_GET_KEYGet key method failed
ERR_EXPORT_KEYExport key failed
ERR_IMPORT_KEYImport key failed
ERR_CREATE_KEYCreate key failed
ERR_EXPIRE_KEYExpire key failed
ERR_REMOVE_KEYRemove key failed

Authentication error​

CodeMessage
ERR_COMM_AUTHENTICauthentication error
ERR_AUTH_CTX_TYPEwrong authentication context type
ERR_ZERO_DATAno data returned from server
ERR_DELEGATION_TARGET_SETdelegation target already selected: a context names one target; make a new context to name another
ERR_DELEGATION_NO_TARGETno delegation target selected: call setX509Target or setXAuthTarget first
ERR_DELEGATION_NO_CLIENT_CERTdelegated authentication needs a connection presenting the delegator's certificate: open a TEConnection::SSLMutualConnection with this context

Object container error​

CodeMessage
ERR_CONT_INVALID_IDXinvalid index

Matrix error​

CodeMessage
ERR_MTX_METHODTEAgentMatrix method error
ERR_MTX_GET_CELL_HASHTEAgentMatrix::get element's hash value error
ERR_MTX_CLONETEAgentMatrix::clone error
ERR_MTX_INVALID_HASH_COLTEAgentMatrix::invalid hash column
ERR_MTX_MISMATCHCOL_SALTTEAgentMatrix::setHashColumns: column number mismatch

Other methods​

CodeMessage
ERR_CLONEclone error

TEAdmin error description​

CodeMessage
ERR_CMD_EXEcommand execution error
ERR_NO_OBJ_RETno object returned
ERR_INVALID_TYPEinvalid type
ERR_EMPTY_PASSWDnull or empty password
ERR_EMPTY_VERSION_INFOno version information
ERR_INCONSISTANDinconsistent number of objects returned
ERR_UNSUPPORTED_TYPEun-supported type
ERR_PSID_NOT_MATCHnumber of principal IDs and system IDs are not match

TEAdminLocal error description​

CodeMessage
ERR_INCONSISTANT_SIZEinconsistent size
ERR_INVALID_RET_HLinvalid returned hidden link

TEAdminCertificate error description​

CodeMessage
ERR_NO_CERT_ISSUEDNo certificate issued

TEAdminTrustedServer error description​

CodeMessage
ERR_NO_OBJ_RETURNEDNo object returned

ACL function error​

CodeMessage
ERR_ACLINFO_GETENTSget ACL entities error
ERR_ACLINFO_CLEARENTclear ACL entry error
ERR_ACLINFO_ADDENTadd ACL entry error
ERR_ACLINFO_IDXoperator [] error
ERR_ACLINFO_IDX_NULLcannot find given principal
ERR_ACLINFO_REMOVEENTremove ACL entry error
ERR_ACLTEMPLATE_GETNAMEget name error
ERR_ACLTEMPLATE_SETNAMEset name error
ERR_ACLTEMPLATE_GETMEMSget ACL Template Members error
ERR_ACLTEMPLATE_CLEARMEMclear ACL Template Member error
ERR_ACLTEMPLATE_ADDMEMadd ACL Template Member error
ERR_ACLTEMPLATE_IDXoperator [] error
ERR_ACLTEMPLATE_IDX_NULLcannot find given principal
ERR_ACLTEMPLATE_REMOVEMEMremove ACL Template Member error
ERR_TEMPLATEDDIR_GETPATHget path error
ERR_TEMPLATEDDIR_SETPATHset path error
ERR_TEMPLATEDDIR_GETALIASget alias error
ERR_TEMPLATEDDIR_SETALIASset alias error
ERR_TEMPLATEDDIR_GETFLAGget templated directory flag error
ERR_TEMPLATEDDIR_SETFLAGset templated directory flag error
ERR_TEMPLATEDDIR_SETACLTEMPLATEIDset acl template id error
ERR_TEMPLATEDDIR_GETACLTEMPLATEIDget acl template id error
ERR_TEMPLATEDDIR_SETIDset templated directory id error
ERR_TEMPLATEDDIR_GETIDget templated directory id error
ERR_TEMPLATEDDIR_SETHOSTIDset host id error
ERR_TEMPLATEDDIR_GETHOSTIDget host id error

Principal function error​

CodeMessage
ERR_GET_PRINCIPAL_NAMEget principal name error

User function error​

CodeMessage
ERR_CONST_USERconstruct user object error
ERR_SET_PASSWDset password error
ERR_INVALID_PASSWDinvalid password
ERR_EMPTY_USER_NAMEnull or empty user name -- the SRP verifier is computed over it
ERR_SET_USER_NAMEset user name error
ERR_GET_USER_NAMEget user name error

Group function error​

CodeMessage
ERR_GROUP_CONSTconstruct group object error
ERR_GROUP_SET_NAMEset group name error
ERR_GROUP_GET_NAMEget group name error
ERR_GROUP_CLONEclone group error
ERR_GROUP_PCOUNTget principal count error
ERR_GROUP_GET_PIDget all principal ids error
ERR_GROUP_ADD_PIDadd principal id to group error
ERR_GROUP_RM_PIDremove principal id from group error

Transport principal function error​

CodeMessage
ERR_CONST_TRANSconstruct transport principal object error
ERR_SET_CERTIDset certificate ID error
ERR_GET_CERTIDget certificate ID error
ERR_SET_CERTset certificate error
ERR_GET_CERTget certificate error
ERR_GEN_PKCSRgenerate private key and CSR error
ERR_GET_SUBJECTget subject error
ERR_SET_SUBJECTset subject error
ERR_PRINCIPAL_CNTget principal count error
ERR_GET_PRINCIPALget principals error
ERR_ADD_PRINCIPALadd principal error
ERR_RM_PRINCIPALremove principal error
ERR_CLR_PRINCIPALclear principals error

Role function error​

CodeMessage
ERR_CONST_ROLEconstruct TEUserRole object error
ERR_SET_ROLEIDset role id error
ERR_GET_ROLEIDget role id error
ERR_SET_ROLENAMEset role name error
ERR_GET_ROLENAMEget role name error
ERR_SET_ROLETYPEset role type error
ERR_GET_ROLETYPEget role type error
ERR_IS_BUILTINcheck role type error
ERR_OP_NUMget operation number error
ERR_GET_OPSget all operation IDs error
ERR_ADD_OPadd new operation error
ERR_RM_OPremove operation error

Operation function error​

CodeMessage
ERR_CONST_OPconstruct operation object error
ERR_SET_OPIDset operation ID error
ERR_GET_OPIDget operation ID error
ERR_SET_OPNAMEset operation name error
ERR_GET_OPNAMEget operation name error

Windows user function error​

CodeMessage
ERR_CONST_WINUSERconstruct windows principal object error
ERR_SET_WINUSER_NAMEget windows principal name error
ERR_GET_WINUSER_NAMEget windows principal name error
ERR_ACL_UPD_CDwrong update code

CertObjectInfo function error​

CodeMessage
ERR_CONST_COconstruct certificate principal object error
ERR_SET_COCERTIDset certificate ID error
ERR_GET_COCERTIDget certificate ID error
ERR_SET_COCERTset certificate error
ERR_GET_COCERTget certificate error
ERR_SET_COSUBNAMEset subject name error
ERR_GET_COSUBNAMEget subject name error
ERR_SET_COEFFDATEset effective date error
ERR_GET_COEFFDATEget effective date error
ERR_SET_COEXPDATEset expiration date error
ERR_GET_COEXPDATEget expiration date error
ERR_SET_COSNset serial number error
ERR_GET_COSNget serial number error
ERR_SET_COISSUNAMEset issuer name error
ERR_GET_COISSUNAMEget issuer name error
ERR_SET_COPKHASHset public key hash error
ERR_GET_COPKHASHget public key hash error
ERR_SET_COSTATUSset status error
ERR_GET_COSTATUSget status error
ERR_SET_COTYPEset type error
ERR_GET_COTYPEget type error

TrustedServerInfo function error​

CodeMessage
ERR_CONST_TSconstruct trusted server object error
ERR_GET_TSSVRNAMEget trusted server name error
ERR_SET_TSSVRNAMEset trusted server name error
ERR_GET_TSPORTget trusted server port error
ERR_SET_TSPORTset trusted server port error
ERR_GET_TSPIDget trusted server principal ID error
ERR_SET_TSPIDset trusted server principal ID error
ERR_GET_TSSIDget trusted server system ID error
ERR_SET_TSSIDset trusted server system ID error
ERR_GET_TSDESCget trusted server description error
ERR_SET_TSDESCset trusted server description error
ERR_GET_TSFRDNAMEget trusted server friendly name error
ERR_SET_TSFRDNAMEset trusted server friendly name error
ERR_GET_TSCERTget trusted server certificate object error
ERR_SET_TSCERTset trusted server certificate object error
ERR_GET_TSTRANSget trusted server transport principal error
ERR_SET_TSTRANSset trusted server transport principal error

Message Principal function error​

CodeMessage
ERR_CONST_MSGPRINCIPALconstruct message principal object error
ERR_SET_MSGPRINCIPAL_MESSAGEset message principal message error
ERR_GET_MSGPRINCIPAL_MESSAGEget message principal message error

LDAP Principal function error​

CodeMessage
ERR_CONST_LDAPPRINCIPALconstruct LDAP principal object error

XAuth (Externally Authenticated) Principal function error​

CodeMessage
ERR_CONST_XAUTHPRINCIPALconstruct XAuth principal object error
ERR_SET_XAUTHPRINCIPAL_IDset XAuth principal id error
ERR_GET_XAUTHPRINCIPAL_IDget XAuth principal id error
ERR_SET_XAUTHPRINCIPAL_METAset XAuth principal meta info error
ERR_GET_XAUTHPRINCIPAL_METAget XAuth principal meta info error

UNIX Principal function error​

CodeMessage
ERR_CONST_UNIXPRINCIPALconstruct Unix principal object error
ERR_SET_UNIXPRINCIPAL_TYPEset Unix principal type error
ERR_GET_UNIXPRINCIPAL_TYPEget Unix principal type error

TECertAndPKey function error​

CodeMessage
ERR_CERTPKEY_LOADFILEload certificate and private key from file error

TEQuery function error​

CodeMessage
ERR_QUERY_CONSTconstruct query object error
ERR_QUERY_WHEREset where clause error
ERR_QUERY_ORDERBYset orderby clause error
ERR_QUERY_LIMITset limit clause error
ERR_QUERY_ADD_SUBQUERYadd sub query error

TEKeyCertUtil​

CodeMessage
ERR_PKEYCERTUTIL_LOADload data error
ERR_PKEYCERTUTIL_VALIDATEcertificate and private key validation error

TEAdminConfig​

CodeMessage
ERR_RET_PARAMETERerror with returned data

TEAdminCodeSigning​

CodeMessage
ERR_NOT_ENOUGH_PARAMETERSThe information given is not enough.

TEEventLog​

CodeMessage
ERR_CONST_EVENTLOGconstruct TEEventLog object error
ERR_EVENTLOG_SETTYPEset event log type error
ERR_EVENTLOG_SETINTDATAset integer value error
ERR_EVENTLOG_SETTXTDATAset text value error
ERR_EVENTLOG_GETINTDATAget integer value error
ERR_EVENTLOG_GETTXTDATAget text value error

Principal Trust Matrix​

CodeMessage
ERR_PTM_CONSTconstruct TEPrincipalTrustMatrix object error
ERR_PTM_SETIDset id error
ERR_PTM_GETIDget id error
ERR_PTM_SETPRINCIPALIDset principal id error
ERR_PTM_GETPRINCIPALIDget principal id error
ERR_PTM_SETTRUSTEDSERVERIDset trusted server id error
ERR_PTM_GETTRUSTEDSERVERIDget trusted server id error
ERR_PTM_SETFLAGset flag error
ERR_PTM_GETFLAGget flag error
ERR_PTM_CLONEclone error

C API​

CodeMessage
ERR_HASHHash error
INVALID_CONNECTION_HANDLEInvalid connection handle
NULL_POINTERNull pointer
INVALID_HIDDEN_LINK_BUFFERHiddenLink buffer too small
INVALID_DATA_BUFFERInvalid data buffer
INVALID_TOKENInvalid token
INVALID_MATRIX_HANDLEInvalid matrix handle