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

# Functions

HashAttestation hashes the required data that needs to be signed by RAK producing the attestation signature.
HashRAK computes the expected report data hash bound to a given public RAK.
MultiSignNode serializes the Node and multi-signs the result.
Roles returns a list of available valid roles.

# Constants

LatestNodeDescriptorVersion is the latest node descriptor version that should be used for all new descriptors.
LatestSGXAttestationVersion is the latest SGX attestation structure version that should be used for all new descriptors.
LatestSGXConstraintsVersion is the latest SGX constraints structure version that should be used for all new descriptors.
RoleComputeWorker is the compute worker role.
No description provided by the author
RoleEmpty is the roles bitmask that specifies no roles.
RoleKeyManager is the the key manager role.
No description provided by the author
RoleObserver is the observer role.
No description provided by the author
RoleReserved are all the bits of the Oasis node roles bitmask that are reserved and must not be used.
RoleStorageRPC is the public storage RPC services worker role.
No description provided by the author
RoleValidator is the validator role.
No description provided by the author
TEEHardwareIntelSGX is an Intel SGX TEE implementation.
TEEHardwareInvalid is a non-TEE implementation.
TEEHardwareReserved is the first reserved hardware implementation identifier.

# Variables

AttestationSignatureContext is the signature context used for TEE attestation signatures.
EndorseCapabilityTEESignatureContext is the signature context used for TEE capability endorsement.
ErrAttestationFromFuture is the error returned when the TEE attestation appears to be from the future.
ErrBadEnclaveIdentity is the error returned when the TEE enclave identity doesn't match the required values.
ErrConsensusAddressNoID is the error returned when a consensus address doesn't have the ID@ part.
ErrDuplicateRole is the error returned when a node role is duplicated.
ErrInvalidAddress is the error returned when a transport address is invalid.
ErrInvalidAttestationSignature is the error returned when the TEE attestation signature fails verification.
ErrInvalidRole is the error returned when a node role is invalid.
ErrInvalidTEEHardware is the error returned when a TEE hardware implementation is invalid.
ErrRAKHashMismatch is the error returned when the TEE attestation does not contain the node's RAK hash.
ErrTLSAddressNoPubKey is the error returned when a TLS address doesn't have the PubKey@ part.

# Structs

Address represents a TCP address for the purpose of node descriptors.
Capabilities represents a node's capabilities.
CapabilityTEE represents the node's TEE capability.
ConsensusAddress represents a CometBFT consensus address that includes an ID and a TCP address.
ConsensusInfo contains information for connecting to this node as a consensus member.
EndorsedCapabilityTEE is the endorsed CapabilityTEE structure.
MultiSignedNode is a multi-signed blob containing a CBOR-serialized Node.
Node represents public connectivity information about an Oasis node.
P2PInfo contains information for connecting to this node via P2P transport.
Runtime represents the runtimes supported by a given Oasis node.
SGXAttestation is an Intel SGX remote attestation.
SGXConstraints are the Intel SGX TEE constraints.
TEEFeatures are the supported TEE features as advertised by the consensus layer.
TEEFeaturesSGX are the supported Intel SGX-specific TEE features.
TLSAddress represents an Oasis committee address that includes a TLS public key and a TCP address.
TLSInfo contains information for connecting to this node via TLS.
VRFInfo contains information for this node's participation in VRF based elections.

# Type aliases

RolesMask is Oasis node roles bitmask.
SoftwareVersion is the node's oasis-node software version.
TEEHardware is a TEE hardware implementation.