Expand description
Core types for the auth module.
Defines AuthMessage, MessageType, PeerSession, protocol constants, and the RequestedCertificateSet type alias.
Structs§
- Auth
Message - A message in the BRC-31 Authrite authentication protocol.
- Peer
Session - Tracks the state of an authenticated session with a peer.
- Requested
Certificate Set - A set of certificates being requested from a peer.
Enums§
- Message
Type - 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.