Documentation
¶
Overview ¶
Package api implements the key manager management API and common data types.
Index ¶
Constants ¶
View Source
const (
// ModuleName is a unique module name for the keymanager module.
ModuleName = "keymanager"
)
Variables ¶
View Source
var ( // InsecureRAK is the insecure hardcoded key manager public key, used // in insecure builds when a RAK is unavailable. InsecureRAK signature.PublicKey // InsecureREK is the insecure hardcoded key manager public key, used // in insecure builds when a REK is unavailable. InsecureREK x25519.PublicKey // TestSigners contains a list of signers with corresponding test keys, used // in insecure builds when a RAK is unavailable. TestSigners []signature.Signer // RPCMethodConnect is the name of the method used to establish a Noise session. RPCMethodConnect = "" )
Functions ¶
func RegisterService ¶
RegisterService registers a new keymanager backend service with the given gRPC server.
Types ¶
type Backend ¶
type Backend interface { // StateToGenesis returns the genesis state at specified block height. StateToGenesis(ctx context.Context, height int64) (*Genesis, error) // Secrets returns the key manager secrets management implementation. Secrets() secrets.Backend // Churp returns the key manager CHURP management implementation. Churp() churp.Backend }
Backend is a key manager management implementation.
Click to show internal directories.
Click to hide internal directories.