jwa

package
v0.0.0-...-c1ce609 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Algoritm

type Algoritm interface {
	Available() bool
	NewVerifier(key crypto.PublicKey) Verifier
	NewSigner(key crypto.PrivateKey) Signer
}

type Signer

type Signer interface {
	Sign(rand io.Reader, unsigned []byte) (signature []byte, err error)
}

type Verifier

type Verifier interface {
	Verify(signed, signature []byte) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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