Skip to main content

Module types

Module types 

Source
Expand description

Core types for the auth module.

Defines AuthMessage, MessageType, PeerSession, protocol constants, and the RequestedCertificateSet type alias.

Structs§

AuthMessage
A message in the BRC-31 Authrite authentication protocol.
PeerSession
Tracks the state of an authenticated session with a peer.
RequestedCertificateSet
A set of certificates being requested from a peer.

Enums§

MessageType
The type of an authentication protocol message.

Constants§

AUTH_PROTOCOL_ID
Protocol ID used for signing auth messages.
AUTH_VERSION
Auth protocol version.
CERTIFICATE_FIELD_ENCRYPTION_PROTOCOL
Protocol ID used for encrypting certificate fields.
CERTIFICATE_SIGNATURE_PROTOCOL
Protocol ID used for signing certificates.
NONCE_SECURITY_LEVEL
Security level used for nonce HMAC operations.
SERVER_HMAC_PROTOCOL
Protocol ID used for HMAC-based nonce operations.