Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PublicKeyField is the key name at which the public key should be // stored in an ecfg document. PublicKeyField = "_public_key" )
Variables ¶
View Source
var ErrPublicKeyInvalid = errors.New("public key has invalid format")
ErrPublicKeyInvalid means that the PublicKeyField key was found, but the value could not be parsed into a valid key.
View Source
var ErrPublicKeyMissing = errors.New("public key not present in ecfg file")
ErrPublicKeyMissing indicates that the PublicKeyField key was not found at the top level of the JSON document provided.
Functions ¶
func ExtractPublicKeyHelper ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.