Documentation ¶ Index ¶ Variables type OCSP func New(certsURI string) *OCSP func (o *OCSP) VerifyPeerCertificate(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error Constants ¶ This section is empty. Variables ¶ View Source var ( ErrCertExpired = errors.New("certificate expired before renewal") ErrCertRevoked = errors.New("certificate has been revoked and cannot be renewed") ErrUnkonwn = errors.New("certificate status unknown") ) Functions ¶ This section is empty. Types ¶ type OCSP ¶ type OCSP struct { // contains filtered or unexported fields } func New ¶ func New(certsURI string) *OCSP func (*OCSP) VerifyPeerCertificate ¶ func (o *OCSP) VerifyPeerCertificate(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error Source Files ¶ View all Source files certs.go Click to show internal directories. Click to hide internal directories.