TLSAlertType

enum class TLSAlertType

TLS alert types with codes

Enum Values

DecryptionFailed_RESERVED

CloseNotify

UnexpectedMessage

BadRecordMac

RecordOverflow

DecompressionFailure

HandshakeFailure

NoCertificate_RESERVED

BadCertificate

UnsupportedCertificate

CertificateRevoked

CertificateExpired

CertificateUnknown

IllegalParameter

UnknownCa

AccessDenied

DecodeError

DecryptError

ExportRestriction_RESERVED

ProtocolVersion

InsufficientSecurity

InternalError

UserCanceled

NoRenegotiation

UnsupportedExtension

Properties

code

val code: Int

numeric alert code

Companion Object Functions

byCode

fun byCode(code: Int): TLSAlertType

Find TLS alert instance by it’s numeric code or fail