package alert
Import Path
github.com/pion/dtls/v2/pkg/protocol/alert (on go.dev)
Dependency Relation
imports 3 packages, and imported by 2 packages
Involved Source Files
Package alert implements TLS alert protocol https://tools.ietf.org/html/rfc5246#section-7.2
Package-Level Type Names (total 3)
Alert is one of the content types supported by the TLS record layer.
Alert messages convey the severity of the message
(warning or fatal) and a description of the alert. Alert messages
with a level of fatal result in the immediate termination of the
connection. In this case, other connections corresponding to the
session may continue, but the session identifier MUST be invalidated,
preventing the failed session from being used to establish new
connections. Like other messages, alert messages are encrypted and
compressed, as specified by the current connection state.
https://tools.ietf.org/html/rfc5246#section-7.2
Description Description
Level Level
ContentType returns the ContentType of this Content
Marshal returns the encoded alert
(*Alert) String() string
Unmarshal populates the alert from binary data
*Alert : github.com/pion/dtls/v2/pkg/protocol.Content
*Alert : github.com/pion/rtcp.PacketStatusChunk
*Alert : github.com/gogo/protobuf/proto.Marshaler
*Alert : github.com/gogo/protobuf/proto.Unmarshaler
*Alert : github.com/golang/protobuf/proto.Marshaler
*Alert : github.com/golang/protobuf/proto.Unmarshaler
*Alert : expvar.Var
*Alert : fmt.Stringer
Description is the extended info of the TLS Alert
( Description) String() string
Description : expvar.Var
Description : fmt.Stringer
const AccessDenied
const BadCertificate
const BadRecordMac
const CertificateExpired
const CertificateRevoked
const CertificateUnknown
const CloseNotify
const DecodeError
const DecompressionFailure
const DecryptError
const DecryptionFailed
const ExportRestriction
const HandshakeFailure
const IllegalParameter
const InsufficientSecurity
const InternalError
const NoApplicationProtocol
const NoCertificate
const NoRenegotiation
const ProtocolVersion
const RecordOverflow
const UnexpectedMessage
const UnknownCA
const UnsupportedCertificate
const UnsupportedExtension
const UserCanceled
Package-Level Constants (total 28)
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Level enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Description enums
Level enums
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |