fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/client/common/verifier Index | Files

package verifier

import "github.com/hyperledger/fabric-sdk-go/pkg/client/common/verifier"

Package verifier provides various verifier (e.g. signature)

Index

Package Files

signature.go

func ValidateCertificateDates Uses

func ValidateCertificateDates(cert *x509.Certificate) error

ValidateCertificateDates used to verify if certificate was expired or not valid until later date

func VerifyPeerCertificate Uses

func VerifyPeerCertificate(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error

VerifyPeerCertificate verifies raw certs and chain certs for expiry and not yet valid dates

type Signature Uses

type Signature struct {
    Membership fab.ChannelMembership
}

Signature verifies response signature

func (*Signature) Match Uses

func (v *Signature) Match(response []*fab.TransactionProposalResponse) error

Match matches transaction proposal responses (empty for signature verifier)

func (*Signature) Verify Uses

func (v *Signature) Verify(response *fab.TransactionProposalResponse) error

Verify checks transaction proposal response

Package verifier imports 8 packages (graph) and is imported by 7 packages. Updated 2019-08-23. Refresh now. Tools for package owners.