signing

package
v0.23.34 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Format1Rsa   byte = 1
	Format2Dsa   byte = 2
	Format3Ecdsa byte = 3
)

Variables

This section is empty.

Functions

func AssertIdentityWithSecret

func AssertIdentityWithSecret(privateKey interface{}) ([]byte, error)

Types

type Verifier

type Verifier interface {
	Verify(publicKey interface{}) bool
}

func GetVerifier

func GetVerifier(val []byte) (Verifier, error)

Jump to

Keyboard shortcuts

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