verifier

package
v0.0.0-...-be3778f Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

Factory is a receiver that encapsulates required dependencies.

func New

func New() *Factory

New is a factory function that returns a factory.

func (*Factory) Create

func (f *Factory) Create(m metadata.Contract) verifier.Contract

Create returns a contract implementation based on the provided metadata.

func (*Factory) SignPKCS1v15Verifier

func (f *Factory) SignPKCS1v15Verifier(signerHash, reducerHash string) verifier.Contract

SignPKCS1v15Verifier returns a verifier.

func (*Factory) SignTPMv2Verifier

func (f *Factory) SignTPMv2Verifier(reducerHash string) verifier.Contract

SignTPMv2Verifier returns a verifier.

Jump to

Keyboard shortcuts

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