Back to / pkg / client / common / verifier

package verifier

v1.0.0 (01fc6e2)
Latest Go to latest
Published: Jul 6, 2020 | License: Apache-2.0 | Module:


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


Package Files

func ValidateCertificateDates

func ValidateCertificateDates(cert *x509.Certificate) error

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

func VerifyPeerCertificate

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

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

type Signature

type Signature struct {
	Membership fab.ChannelMembership

Signature verifies response signature

func (*Signature) Match

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

Match matches transaction proposal responses (empty for signature verifier)

func (*Signature) Verify

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

Verify checks transaction proposal response

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier