package keys
import "github.com/google/trillian/cmd/createtree/keys"
Index ¶
- func New(protoType string) (*any.Any, error)
- func RegisterType(protoType string, builder ProtoBuilder)
- func RegisteredTypes() []string
- type ProtoBuilder
Functions ¶
func New ¶
New returns a protobuf message of the specified type that describes a private key. A ProtoBuilder must have been registered for this type using RegisterType() first.
func RegisterType ¶
func RegisterType(protoType string, builder ProtoBuilder)
RegisterType registers a func that can create protobuf messages which describe a private key.
func RegisteredTypes ¶
func RegisteredTypes() []string
RegisteredTypes returns a list of protobuf message types that have been registered using RegisterType().
Types ¶
type ProtoBuilder ¶
ProtoBuilder creates a protobuf message that describes a private key. It may use flags to obtain the required information, e.g. file paths.
Source Files ¶
- Version
- v1.0.5
- Published
- Jan 23, 2018
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 4 hours ago –
Tools for package owners.