certifier

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Copyright IBM Corp. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0

Copyright IBM Corp. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Drivers

func Drivers() []string

Drivers returns a sorted list of the names of the registered drivers.

func Register

func Register(name string, driver driver.Driver)

Register makes a certifier driver available by the provided name. If Register is called twice with the same name or if driver is nil, it panics.

Types

type CertificationClient

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

func NewCertificationClient

func NewCertificationClient(sp view.ServiceProvider, network, channel, namespace, driver string) (*CertificationClient, error)

func (*CertificationClient) IsCertified

func (c *CertificationClient) IsCertified(id *token2.ID) bool

func (*CertificationClient) RequestCertification

func (c *CertificationClient) RequestCertification(ids ...*token2.ID) error

type CertificationService

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

func NewCertificationService

func NewCertificationService(sp view.ServiceProvider, network, channel, namespace, wallet, driver string) (*CertificationService, error)

func (*CertificationService) Start

func (c *CertificationService) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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