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