pkg

package
v0.99999.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

 The pkg folder contains the reference implementation code, including compiled code generated from the protocol buffer definitions in the proto folder.

	- The iso3166 folder contains language codes. Dictated by the International Organization for Standardization, these codes are an important part of TRISA's international compatibility. Language codes provide a consistent way to refer to countries across the world without the need for a lingua franca.
	- The ivms101 folder extends the generated protobuf code with JSON loading utilities, validation helpers, short constants, etc. This package enables compatibility between international entities, making it easier to transmit descriptive information about individuals and organizations in a mutually intelligible way.
	- The trisa folder contains structs and methods for a range of TRISA-related tasks, such as performing cryptography and making mTLS connections.

Package pkg describes the TRISA Go package (reference implementation).

Index

Constants

View Source
const (
	VersionMajor         = 0
	VersionMinor         = 3
	VersionPatch         = 4
	VersionReleaseLevel  = "v1beta1"
	VersionReleaseNumber = 8
)

Version component constants for the current build.

Variables

This section is empty.

Functions

func Version

func Version() string

Version returns the semantic version for the current build.

Types

This section is empty.

Directories

Path Synopsis
Package ivms101 extends the Go protocol buffers generated by the ivms101 protobuf package with JSON loading utilities, validation helpers, short constants, etc.
Package ivms101 extends the Go protocol buffers generated by the ivms101 protobuf package with JSON loading utilities, validation helpers, short constants, etc.
crypto
Package crypto describes interfaces for the various encryption and hmac algorithms that might be used to encrypt and sign transaction envelopes being passed securely in the TRISA network.
Package crypto describes interfaces for the various encryption and hmac algorithms that might be used to encrypt and sign transaction envelopes being passed securely in the TRISA network.
envelope
Package envelope replaces the handler package to provide utilities for encrypting and decrypting trisa.SecureEnvelopes as well as sealing and unsealing them.
Package envelope replaces the handler package to provide utilities for encrypting and decrypting trisa.SecureEnvelopes as well as sealing and unsealing them.
keys
Package keys provides interfaces and handlers for managing public/private key pairs that are used for sealing and unsealing secure envelopes.
Package keys provides interfaces and handlers for managing public/private key pairs that are used for sealing and unsealing secure envelopes.
keys/signature
Package signature provides a mechanism for computing public key signatures, which are used to help identify public keys used in sealing TRISA envelopes and select the matching private key pair when a secure envelope is received.
Package signature provides a mechanism for computing public key signatures, which are used to help identify public keys used in sealing TRISA envelopes and select the matching private key pair when a secure envelope is received.
Package trust provides support for handling PEM-encoded certificate chains.
Package trust provides support for handling PEM-encoded certificate chains.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL