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 (e *SignatureDecodeError) Message() *proto.ResponseMessage
func (*SignatureDecodeError) Status ¶
func (e *SignatureDecodeError) Status() int
type SignatureVerificationError ¶
type SignatureVerificationError struct{}
func (*SignatureVerificationError) Error ¶
func (e *SignatureVerificationError) Error() string
func (*SignatureVerificationError) Message ¶
func (e *SignatureVerificationError) Message() *proto.ResponseMessage
func (*SignatureVerificationError) Status ¶
func (e *SignatureVerificationError) Status() int
Click to show internal directories.
Click to hide internal directories.