keystore

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewX509KeyStoreSigner

func NewX509KeyStoreSigner(privateKeyPath string, certificatePath string, opts ...X509KeyStoreOption) (signer.Signer, error)

Types

type X509KeyStoreOption

type X509KeyStoreOption func(*x509KeyStoreOptions)

func WithPrivateKeyPassword

func WithPrivateKeyPassword(password string) X509KeyStoreOption

type X509KeyStoreSigner

type X509KeyStoreSigner struct {
	// contains filtered or unexported fields
}

func (*X509KeyStoreSigner) Close

func (x *X509KeyStoreSigner) Close() error

func (*X509KeyStoreSigner) GetCerts

func (x *X509KeyStoreSigner) GetCerts() ([][]byte, error)

func (*X509KeyStoreSigner) Public

func (x *X509KeyStoreSigner) Public() crypto.PublicKey

func (*X509KeyStoreSigner) Sign

func (x *X509KeyStoreSigner) Sign(r io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error)

func (*X509KeyStoreSigner) SignBytes

func (x *X509KeyStoreSigner) SignBytes(message []byte) ([]byte, error)

func (*X509KeyStoreSigner) SignString

func (x *X509KeyStoreSigner) SignString(message string) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL