Unit
ScConsts
type
TScErrorCode = (
seSuccess,
/// Common Errors
seInternalError, seInvalidInputArgs, seInvalidInputArg,
seInvalidObjectClass, seAssignError, seClientOpened, seServerOpened, seClientClosed,
seInvalidCipherAlgorithm, seInvalidHashAlgorithm, seInvalidCompressionAlgorithm,
seInvalidPublicKeyAlgorithm, seInvalidKeyExchangeAlgorithm, seInvalidSignatureAlgorithm,
seUnknownHashAlgorithm, seUnknownSignatureAlgorithm,
seCompressionNotSupported, seCompressorNotAssigned,
seAcceptTimedOut, seConnectionNotSecure, seSourceConnectionNotSecure,
/// SSH
seConnectionNotDefined, seChannelNotDefined, seConnectionTimeout,
seCannotSendData, seCannotSendClientData, seCannotListenPF,
seHostKeysNotFound, seHostKeyNotVerifed, seUnexpectedEOP,
seNoPacketReceived, seAuthenticationFailed, seTimeoutSession,
seVerifyKeyExAlgFailed, seVerifyHostKeyFailed, seVerifyEncAlgFailed,
seVerifyCompressAlgFailed, seVerifyMacAlgFailed,
seInvalidServerVersion, seNotCompatibleServerVersion,
seInvalidPacketSize, seInvalidPaddingSize, seEmptyUsername,
seClientNotDefined, seOpenChannelError, seBadKeyAlgorithm,
seNotDirectChannel, sePrivateKeyNotFound, seNotEnoughData,
seUnsupportedSessionType, seUnsupportedRequestType, seServerNotSupportShell,
/// SFTP
seUnknownReplyExtensionType, seUnknownFileType, seUnknownTextHintValue,
seUnsupportedAttribute, seUnsupportedBlockMode, seUnsupportedExtensionName,
seUnsupportedFileAttrData, seServerNotSupportSFTP, seUnsupportedSFTPOperation,
seUnknownSFTPClientVersion, seUnknownSFTPServerVersion, seSFTPClientActive,
seInvalidFileHandle, seStreamReadError, seSFTPServerError, sePathNotAllowed,
seImpersonationLogonUserFail, seImpersonateUserFail, seSFTPInitializationFail,
/// SSH & SSL
seUnexpectedPacketType, seUnknownMessageType, seUnexpectedPacket,
seInvalidMessage, seInvalidMessageLength, seCorruptMessage,
seSocketClosed, seConnectionClosed, seWrongHostname, seWrongPort,
seHashVerificationNotCorrespond,
/// SSL
seCannotWriteSocketData, seSocketNotConnected, seInvalidEllipticCurveName,
seUnknownProtocolVersion, seIllegalRandomParameter,
seIllegalSessionIDParameter, seIllegalKeyShareParameters,
seErrorServerKeyExchangeNonExportable, seErrorServerKeyExchangePublicKey,
sePeerCertificateNotReceived, seServerCertificateNotReceived,
seECurveDomainTypeNotSupported,
seErrorHandshakeProcedure, seErrorPublicKeyLength, seErrorDiffieHelmanKeyLength,
seFailureAlert, seNotAgreeOnProtocol, seNormalConnectionIsNotSupported,
seServerCertificateEmpty, seCertificateMustBePrivate, seSsl3PsepdoRandomError,
seInvalidOperation, seWrongExtensionData,
seInvalidRenegotiationInfo, seRenegotiationDenied,
seUnknownExtensionClass, seUnsupportedExtension,
seReceivedExtensionDuplicated, seDataSentAfterShutdown,
seSessionTicketDenied, seSourceSessionTicketAbsent, seExtensionClassDuplicated,
seCertificateNotCorrespondToCertificateRequest, seCertificateNotCorrespondToRequiredSignatureAlgorithms,
seInvalidSignatureSchemeAlgorithm, seCookiesInInitialClientHello,
/// ScBridge
seKeyNotReady, seBrokenKey, seStorageNoSet, seIPCorruptData,
seHashChangedAfterWrite, sePositiveOverflow, seNegativeUnderflow,
seValueHasNoInverse, seInvalidBigIntegerRadix, seBitCountMultiple,
seUseGenerateECMethod, seNotPositiveExponents, seCSPError,
seNotCompatibleFormatWithPublicKeyOnly, seNotCompatibleFormatWithECKey,
seNotCompatibleFormatWithPassphrase, seNotCompatibleFormatWithComment,
seNullName, seCannotSignData, seCannotDecryptData, seDSACannotEncrypt, seECCannotEncrypt,
seCipherNotSupported, seKeyAuthNotSupported, seWrongDataFormat,
seObjectNotFound, seKeyPathNotFound, seObjectAlreadyExists,
seKeyNotPrivate, seKeyNameMissing, seDuplicateKeyName,
seUserNameMissing, seDuplicateUserName,
seCertificateNameMissing, seDuplicateCertificateName, seCertificateNotExists,
seCertificateNotReady, seLargeExpLength, seCertificateNotValid,
seNonCertificate, seEmptyStorageName, seErrorRequestingIssuer, seErrorRequestingSubject,
seCannotFindCertificate, seBadKeyData, seErrorSigningData,
seErrorVerifyingData, seErrorEncryptingData, seUnableFindCertChain,
seUnableVerifyCert, seCertSignatureNotValid, seCertNotValidityPeriod,
seCertCANotValid, seCertKeyUsageNotValid, seCertNotTrusted,
seInvalidSubjectName, seIssuerNotEqualSubject, seDistinguishedNameNotFound,
seCertStorageCannotBeChanged, seWrongCertContext, seCertKeyCannotBeChanged,
seCannotOpenRegistry, seCannotFindProviderName, seChangingReadOnlyStorage,
seUnknownAlgorithm, seUnknownMGFId, seImproperPaddingMode,
seChangingReadOnlyObject, sewNAFError, sePointInfinitive,
seUnknownECParametersFormat, seUnknownEllipticCurveId, seECCryptographyNotInitialized,
seWrongECPointFormat, seWrongEllipticCurvesParameters,
/// ASN1
seCannotConvert, seChoiceLexemNotDefined, seDataTypeIsSet, seLexemNotFound,
/// CMS
seCertificateNotCorrespondToRecipient, seNullSubjectKeyIdentifier,
seStorageAndCertNoSet, seCertificateNotDefined, seUnknownCertFormat,
seContentDataNotFound, seSignatureNotFound, seInvalidIdentifierType,
seInvalidRecipientInfo, seRecipientInfoNotSupported, seEncryptionAlgorithmReadOnly,
seDataNotEncrypted, seDataNotSigned,
seSmallCertificateKeyLength, seRecipientInfoNotFound,
seInvalidSignature, seMessageDigestNotExists, seInvalidMessageDigest,
seAttributeCannotBeIncluded, seNotSignedData, seNotEnvelopedData,
/// FTP
seFTPClientActive, seFTPClientNotConnected, seFTPServerError, seFTPInvalidReplyCode,
seFTPInvalidPortFormat, seFTPOperationCancelled,
seFTPSSLNegotiationCommandFailed, seFTPSetNoPassiveModeWithUseNATFastConnection,
seFTPSetUseExtendedDataAddressWithIPv6, seFTPSetUseExtendedDataAddressWithUseNATFastConnection,
seFTPSetUseClearingControlChannelWithNoTLS, seFTPSetEncryptDataChannelWithNoTLS,
seFTPSetEncryptDataChannelAfterCCC, seFTPEncryptionNoCompatibility
);
Description
The TScErrorCode enumeration is used to determine the typical arisen errors in various cases in all SecureBridge components. The enumeration lists errors that occur in various basic protocols supported by SecureBridge, such as SSH, SFTP, SSL, FTP, CMS, etc.
See also