import "github.com/hyperledger/fabric-sdk-go/pkg/client/common/verifier"
Package verifier provides various verifier (e.g. signature)
func ValidateCertificateDates(cert *x509.Certificate) error
ValidateCertificateDates used to verify if certificate was expired or not valid until later date
func VerifyPeerCertificate(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error
VerifyPeerCertificate verifies raw certs and chain certs for expiry and not yet valid dates
type Signature struct { Membership fab.ChannelMembership }
Signature verifies response signature
func (v *Signature) Match(response []*fab.TransactionProposalResponse) error
Match matches transaction proposal responses (empty for signature verifier)
func (v *Signature) Verify(response *fab.TransactionProposalResponse) error
Verify checks transaction proposal response
Package verifier imports 7 packages (graph) and is imported by 7 packages. Updated 2020-07-29. Refresh now. Tools for package owners.