keyset

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyManager

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

func NewKeyManager

func NewKeyManager(logger *zap.SugaredLogger, nr_mem int, cap int) (*KeyManager, error)

func (*KeyManager) Dispatch

func (m *KeyManager) Dispatch() *keypair.RingKeyPair

func (*KeyManager) Verify

func (m *KeyManager) Verify(msg string, sigb64 string) (bool, proto.VerifyError)

type SignatureDecodeError

type SignatureDecodeError struct{}

func (*SignatureDecodeError) Error

func (e *SignatureDecodeError) Error() string

func (*SignatureDecodeError) Message

func (*SignatureDecodeError) Status

func (e *SignatureDecodeError) Status() int

type SignatureVerificationError

type SignatureVerificationError struct{}

func (*SignatureVerificationError) Error

func (*SignatureVerificationError) Message

func (*SignatureVerificationError) Status

func (e *SignatureVerificationError) Status() int

Jump to

Keyboard shortcuts

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