enum | EErrorCode {
EEC_Success = 0
, EEC_NotInitialized = -(0x0000FFFF)
, EEC_General_InvalidArgument = -(0x0001FFFF)
, EEC_General_BufferSizeTooSmall
,
EEC_General_AllocFail
, EEC_General_FileOpenFail
, EEC_General_FileCreateFail
, EEC_General_FileDeleteFail
,
EEC_General_FileReadFail
, EEC_General_FileWriteFail
, EEC_General_UserCancel
, EEC_General_Unsupport
,
EEC_General_UnsupportBySelectedDevice
, EEC_General_EncodeBase64Fail
, EEC_General_DecodeBase64Fail
, EEC_General_InvalidBase64
,
EEC_General_InvalidHex
, EEC_General_InvalidUrl
, EEC_General_UnsupportedFunctionByCa
, EEC_General_CannotUseCertificateThatCa
,
EEC_General_EmptyDriveID
, EEC_General_UnsupportedKeyboardDomain
, EEC_General_NotImplementedYet
, EEC_General_NotDefinedKey
,
EEC_General_InvalidRegularExpression
, EEC_General_InvalidEncodingFormat
, EEC_Asn_DerEncodingCertificateFail = -(0x0002FFFF)
, EEC_Asn_DerEncodingPublicKeyFail
,
EEC_Asn_DerEncodingPrivateKeyFail
, EEC_Asn_DerEncodingPkcs7SignedDataFail
, EEC_Asn_DerDecodingCertificateFail
, EEC_Asn_DerDecodingCertificateAutorityKeyIDFail
,
EEC_Asn_DerDecodingCertificateSubjectKeyIDFail
, EEC_Asn_DerDecodingCertificateKeyUsageFail
, EEC_Asn_DerDecodingCertificateBasicConstraintsFail
, EEC_Asn_DerDecodingCertificateCertificatePolicyFail
,
EEC_Asn_DerDecodingCertificateCrlDistributionPointsFail
, EEC_Asn_DerDecodingCertificateAuthorityInfoAccessFail
, EEC_Asn_DerDecodingPrivateKeyFail
, EEC_Asn_DerDecodingPublicKeyFail
,
EEC_Asn_DerDecodingPkcs7SignedDataFail
, EEC_Asn_DerDecodingPkcs12Fail
, EEC_Asn_NotExpectedNode
, EEC_Asn_NoTagFromName
,
EEC_Asn_NotDefinedExtension
, EEC_Asn_NotFoundExtension
, EEC_Asn_IntToStrFailed
, EEC_Asn_GetSerialNumberFail
,
EEC_Asn_GetSubjectDNFail
, EEC_Asn_GetIssuerDNFail
, EEC_Asn_GetDateBeginFail
, EEC_Asn_GetDateEndFail
,
EEC_Asn_GetPublickeyAlgorithmFail
, EEC_Asn_GetPublickeyFail
, EEC_Asn_NoPriKeyInfo
, EEC_Asn_NoRandomValue
,
EEC_Asn_UnknownNID
, EEC_Asn_DerEncodingHybridEncryptFail
, EEC_Asn_DerDecodingHybridEncryptFail
, EEC_Asn_DerEncodingHybridDecryptFail
,
EEC_Asn_DerDecodingHybridDecryptFail
, EEC_Asn_GeneratePrivateKeyFail
, EEC_Asn_GeneratePublicKeyFail
, EEC_Asn_NotFoundAsymmAlgorithmId
,
EEC_Asn_NotFoundDnFromGeneralNames
, EEC_Asn_DerEncodingPkcs12Fail
, EEC_Asn_DerEncodingKeyPoliciesFail
, EEC_Asn_DerDecodingKeyPoliciesFail
,
EEC_Asn_BufFromFileFail
, EEC_Asn_BufToFileFail
, EEC_Encryption_CisInitializeFail = -(0x0003FFFF)
, EEC_Encryption_CisFinalizeFail
,
EEC_Encryption_AsymmetricEncryptFail
, EEC_Encryption_AsymmetricDecryptFail
, EEC_Encryption_SymmetricEncryptFail
, EEC_Encryption_SymmetricDecryptFail
,
EEC_Encryption_HybridEncryptFail
, EEC_Encryption_HybridDecryptFail
, EEC_Encryption_HashEncryptFail
, EEC_Encryption_HmacEncryptFail
,
EEC_Encryption_GenerateRandomFail
, EEC_Encryption_SessionAlreadyExist
, EEC_Encryption_SessionNotExisted
, EEC_Encryption_NotMatchedSessionInfo
,
EEC_Encryption_GetSessionKeyFail
, EEC_Encryption_SymmetricKeyTooSmall
, EEC_Encryption_UnsupportedSymmetricAlgorithm
, EEC_Encryption_UnsupportedOperationMode
,
EEC_Encryption_UnsupportedMacAuthMode
, EEC_Encryption_UnsupportedAsymmetricAlgorithm
, EEC_Encryption_UnsupportedHashAlgorithm
, EEC_Encryption_NotFoundMatchedNid
,
EEC_Encryption_GenerateKeyPairFail
, EEC_Encryption_CheckKeyPairFail
, EEC_Encryption_MakeChallengeFail
, EEC_Encryption_DeriveKeyFail
,
EEC_Encryption_GenerateMacFail
, EEC_Encryption_HashMismatched
, EEC_Encryption_HmacMismatched
, EEC_Encryption_GenerateSignFail
,
EEC_Encryption_InvalidKeySize
, EEC_Certificate_LoadingFail = -(0x0004FFFF)
, EEC_Certificate_UnknownCA
, EEC_Certificate_NotFound
,
EEC_Certificate_NotFoundCrlDp
, EEC_Certificate_NotFoundIssuerCert
, EEC_Certificate_NotMatchedIssuerDN
, EEC_Certificate_NotMatchedKeyID
,
EEC_Certificate_NotSupportedCA
, EEC_Certificate_VerifyCertSignFail
, EEC_Certificate_VerifyTimeNotBefore
, EEC_Certificate_VerifyTimeNotAfter
,
EEC_Certificate_Revoked
, EEC_Certificate_AlreadyExist
, EEC_Certificate_WillExpireSoon
, EEC_Certificate_NotFoundAttrRole
,
EEC_Certificate_NotFoundAttrIssuerCert
, EEC_PrivateKey_InvalidPrivateKey = -(0x0005FFFF)
, EEC_PrivateKey_WrongPassword
, EEC_PrivateKey_WrongPasswordAndLocked
,
EEC_PrivateKey_LockedByWrongPasswordCount
, EEC_Pkcs7_GenerateSignedDataFail = -(0x0006FFFF)
, EEC_Pkcs7_VerifySignedDataFail
, EEC_Pkcs7_InvalidSignedData
,
EEC_Pkcs7_GetContentDataFail
, EEC_Pkcs7_NotFoundRecipientInfo
, EEC_Pkcs7_UnsupportedContentType
, EEC_Pkcs12_WrongPassword = -(0x0007FFFF)
,
EEC_Pkcs12_NotFoundCertificate
, EEC_Integrity_Fail = -(0x0008FFFF)
, EEC_Integrity_GetProcessInformationFromPortFail
, EEC_Integrity_WrongProcessExecuted
,
EEC_Integrity_IndexJs_OpenFileFail
, EEC_Integrity_IndexJs_DifferentHashResult
, EEC_Pkcs11_ConfigFail = -(0x0009FFFF)
, EEC_Pkcs11_LoadLibraryFail
,
EEC_Pkcs11_NotFoundMandatoryFunction
, EEC_Pkcs11_OpenSessionFail
, EEC_Pkcs11_CloseSessionFail
, EEC_Pkcs11_NoDeviceSlot
,
EEC_Pkcs11_UnsupportedCertificateAlgorithm
, EEC_Pkcs11_SameCertificateExistent
, EEC_Pkcs11_FindObjectsInitFail
, EEC_Pkcs11_FindObjectsFail
,
EEC_Pkcs11_GetAttributeValueFail
, EEC_Pkcs11_LoginFail
, EEC_Pkcs11_PinWrong
, EEC_Pkcs11_PinInvalidChar
,
EEC_Pkcs11_PinLengthRange
, EEC_Pkcs11_PinExpired
, EEC_Pkcs11_PinLocked
, EEC_Pkcs11_LogoutFail
,
EEC_Pkcs11_NotFoundRandomNumber
, EEC_Pkcs11_PrivateKeyCountError
, EEC_Pkcs11_SignInitFail
, EEC_Pkcs11_SignFail
,
EEC_Pkcs11_CreateObjectFail
, EEC_Pkcs11_DestroyObjectFail
, EEC_Pkcs11_InvalidDriveID
, EEC_Ldap_Init = -(0x000AFFFF)
,
EEC_Ldap_Connect
, EEC_Ldap_FindEntry
, EEC_Ldap_NotFoundTargetAttribute
, EEC_Ubikey_NoValue = -(0x000BFFFF)
,
EEC_Registry_UnknownRootKey = -(0x000CFFFF)
, EEC_Registry_CannotCreateKey
, EEC_Registry_CannotOpenKey
, EEC_Registry_NotExistedKey
,
EEC_Registry_CannotSetValue
, EEC_Registry_CannotDeleteKey
, EEC_Registry_CannotDeleteValue
, EEC_Registry_QueryValueFailed
,
EEC_Registry_MismatchedValueType
, EEC_License_UndefinedError = -(0x000DFFFF)
, EEC_License_CannotLoadRootCert
, EEC_License_CannotLoadCert
,
EEC_License_InvalidValidityPeriod
, EEC_License_InvalidCertificate
, EEC_License_InvalidSubjectName
, EEC_License_InvalidVerifyString
,
EEC_License_WinsockVersionUnsupported
, EEC_License_InvalidHost
, EEC_License_InvalidCpuCount
, EEC_License_NotSupportedFunctionForThisLicense
,
EEC_License_NotFoundLicenseType
, EEC_License_NotFoundValidIp
, EEC_Password_TooShort = -(0x000FFFFF)
, EEC_Password_TooLong
,
EEC_Password_InsufficientCharacterType
, EEC_Password_RepeatedCharacter
, EEC_Password_ConsecutiveCharacter
, EEC_Password_NotAllowedCharacter
,
EEC_Password_OldAndNewAreEqual
, EEC_Cis_ErrorOnCis = -(0x0011FFFF)
, EEC_Cis_InvalidState
, EEC_Cis_ChangeStateFailed
,
EEC_Cis_SelfTestFailed_ModuleIntegrity
, EEC_Cis_SelfTestFailed_VerifiedAlgorithm
, EEC_Timestamp_NotBefore = -(0x0012FFFF)
, EEC_Timestamp_NotAfter
,
EEC_Ec_InvalidCurve = -(0x0013FFFF)
, EEC_Network_WinsockError = -(0x0014FFFF)
, EEC_Cmp_NotFoundIr = -(0x0015FFFF)
, EEC_Cmp_NotFoundSenderId
,
EEC_Cmp_NotFoundSenderName
, EEC_Cmp_NotFoundCertReqInfo
, EEC_Cmp_NotFoundResidentNumber
, EEC_Cmp_NotFoundCertSerialToRevoke
,
EEC_Cmp_ResolveKeyPoliciesFail
, EEC_Certificates_AddFail = -(0x0016FFFF)
, EEC_3rd_Nprotect_Error = -(0x0F00FFFF)
, EEC_3rd_Nprotect_LoadLibraryFail
,
EEC_3rd_Nprotect_UnloadLibraryFail
, EEC_3rd_Nprotect_NotInstalled
, EEC_3rd_Nprotect_InitSdkError
, EEC_UserMsg_CertificateIsNotForVerifyUser = -(0x7000FFFF)
,
EEC_UserMsg_ModuleEncryptKeyFail
, EEC_UserMsg_InvalidAuthenticationNumber
, EEC_UserMsg_InvalidWhiteListSigner
, EEC_UserMsg_ReadWhiteListFailed
,
EEC_UserMsg_VerifyWhiteListFailed
, EEC_UserMsg_UnknownSiteName
, EEC_UserMsg_PredefinedKeySetFail
, EEC_UserMsg_PredefinedKeyGetFail
,
EEC_UserMsg_PredefinedKeyDeleteFail
, EEC_UserMsg_GetMacAddressFail
} |