package
0.4.0
Repository: https://github.com/joelfischerr/scion.git
Documentation: pkg.go.dev

# Packages

Package mock_v2 is a generated GoMock package.

# Variables

ErrBaseNotSupported indicates base TRC insertion is not supported.
ErrContentMismatch indicates that the crypto material exists with differing content.
ErrInactive indicates that the requested material is inactive.
ErrNotFound indicates that the queried value was not found in the database.
ErrRecursionNotAllowed indicates that recursion is not allowed.
ErrResolveSuperseded indicates that the latest locally available TRC supersedes the TRC to resolve.
ErrValidation indicates a validation error.
ErrVerification indicates a verification error.

# Structs

ASLocalRecurser allows AS local addresses to start recursive requests.
ChainReq holds the values of a certificate chain request.
LocalOnlyRecurser returns an error if the address is not nil.
TRCInfo contains metadata about a TRC.
TRCReq holds the values of a TRC request.

# Interfaces

ChainRead defines the certificate chain read operations.
ChainWrite defines the certificate chain write operations.
CryptoProvider provides crypto material.
DB defines the interface a trust DB must implement.
DBRead defines the read operations.
DBWrite defines the write operations.
Inserter inserts and verifies trust material into the database.
Inspector gives insights into the primary ASes of a given ISD.
ReadWrite defines the read and write operations.
Recurser decides whether a recursive request is permitted for a given peer.
Resolver resolves verified trust material.
Router builds the CS address for crypto material with the subject in a given ISD.
RPC abstracts the RPC calls over the messenger.
Transaction represents a trust DB transaction.
TRCRead defines the TRC read operations.
TRCWrite defines the TRC write operations.

# Type aliases

TRCProviderFunc provides TRCs.