Documentation ¶
Overview ¶
Package verifier provides various verifier (e.g. signature)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCertificateDates ¶
func ValidateCertificateDates(cert *sm2.Certificate) error
ValidateCertificateDates used to verify if certificate was expired or not valid until later date
func VerifyPeerCertificate ¶
func VerifyPeerCertificate(rawCerts [][]byte, verifiedChains [][]*sm2.Certificate) error
VerifyPeerCertificate verifies raw certs and chain certs for expiry and not yet valid dates
Types ¶
type Signature ¶
type Signature struct {
Membership fab.ChannelMembership
}
Signature verifies response signature
Click to show internal directories.
Click to hide internal directories.