package
0.2501.0
Repository: https://github.com/oasisprotocol/oasis-core.git
Documentation: pkg.go.dev

# Functions

Load loads an identity.
LoadOrGenerate loads or generates an identity.
TLSCertPaths returns the TLS private key and certificate paths relative to the passed data directory.
TLSSentryClientCertPaths returns the sentry client TLS private key and certificate paths relative to the passed data directory.
WithTLSCertificate creates a new identity with the specified TLS certificate, but otherwise leaves it blank.

# Constants

CommonName is the CommonName to use when generating TLS certificates.
ConsensusKeyPubFilename is the filename of the PEM encoded consensus public key.
NodeKeyPubFilename is the filename of the PEM encoded node public key.
P2PKeyPubFilename is the filename of the PEM encoded p2p public key.
VRFKeyPubFilename is the filename of the PEM encoded node VRF public key.

# Variables

RequiredSignerRoles is the required signer roles needed to load or provision a node identity.

# Structs

Identity is a node identity.