# Functions
ImportSessionInfo allows creation of a Signer with cached SessionInfo.
No description provided by the author
NewAuthenticatedSigner creates a Signer from encoded and cryptographically verified session info.
No description provided by the author
NewSigner creates a Signer that sends authenticated messages to the Verifier named verifierName.
NewVerifier returns a Verifier.
SignMessageForFleet returns a JWT with the provided claims.
SignMessageForVehicle returns a JWT with the provided claims.
No description provided by the author
# Constants
SharedKeySizeBytes is the length of the cryptographic key shared by a Signer and a Verifier.
No description provided by the author
# Variables
ErrInvalidPrivateKey indicates the local peer tried to load an unsupported or malformed private key.
ErrInvalidPublicKey is an Error raised when a remote peer provides an invalid public key.
ErrMetadataFieldTooLong indicates an authenticated field (such as a verifier name) is too long to be compatible with the serialization format.
# Structs
Dispatcher facilitates creating connections to multiple vehicles using the same ECDHPrivateKey.
Error represents a protocol-layer error.
No description provided by the author
No description provided by the author
NativeSession implements the Session interface using native Go.
A Peer is the parent type for Signer and Verifier.
Signers encrypt messages that are decrypted and verified by a designated Verifier.
SigningMethodSchnorrP256 implements jwt.SigningMethod using Schnorr signatures over the NIST P-256 curve.
A Verifier checks the authenticity of commands sent by a Signer.
# Interfaces
ECDHPrivateKey represents a local private key.
A Session allows encrypting/decrypting/authenticating data using a shared ECDH secret.