Versions in this module Expand all Collapse all v8 v8.0.1 May 14, 2024 v8.0.0 May 8, 2024 Changes in this version + var Listers = make(map[string]ListFunc) + var Openers = make(map[string]OpenFunc) + func KeyID(ctx context.Context) []byte + func Login(tokenConf *config.TokenConfig, pinProvider passprompt.PasswordGetter, ...) error + func WithKeyID(ctx context.Context, keyID []byte) context.Context + type Key interface + Certificate func() []byte + Config func() *config.KeyConfig + GetID func() []byte + ImportCertificate func(cert *x509.Certificate) error + SignContext func(context.Context, []byte, crypto.SignerOpts) ([]byte, error) + type KeyType uint + const KeyTypeEcdsa + const KeyTypeRsa + type KeyUsageError struct + Err error + Key string + func (e KeyUsageError) Error() string + func (e KeyUsageError) Unwrap() error + type ListFunc func(provider string, dest io.Writer) error + type ListOptions struct + ID string + Label string + Output io.Writer + Values bool + type NotImplementedError struct + Op string + Type string + func (e NotImplementedError) Error() string + type OpenFunc func(cfg *config.Config, tokenName string, prompt passprompt.PasswordGetter) (Token, error) + type Token interface + Config func() *config.TokenConfig + Generate func(keyName string, keyType KeyType, bits uint) (Key, error) + GetKey func(ctx context.Context, keyName string) (Key, error) + Import func(keyName string, privKey crypto.PrivateKey) (Key, error) + ImportCertificate func(cert *x509.Certificate, labelBase string) error + ListKeys func(opts ListOptions) error + Ping func(ctx context.Context) error Other modules containing this package github.com/sassoftware/relic github.com/sassoftware/relic/v7