ProtoRune. Atproto. Identity
(proto_rune v0.3.0)
Copy Markdown
Implements AT Protocol identity management operations.
Provides functionality for:
- Resolving handles to DIDs
- Resolving DIDs to DID documents
- Validating identity chains
- Verifying signatures
Summary
Functions
Performs complete syntactic validation of a DID according to AT Protocol specifications.
Performs complete syntactic validation of a handle.
Functions
Performs complete syntactic validation of a DID according to AT Protocol specifications.
A valid DID must:
- Start with "did:"
- Have a supported method (plc or web)
- Contain a valid method-specific identifier
- Use only allowed characters (a-z, A-Z, 0-9, ., _, :, %, -)
Performs complete syntactic validation of a handle.
Validates according to AT Protocol handle specification:
- Must be at least two segments separated by dots
- Each segment must be 1-63 chars
- Segments must start/end with alphanumeric
- Segments can contain hyphens (not at start/end)
- Last segment cannot start with a number