Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UnhandledCriticalExtension (0.2 sec)

  1. src/crypto/x509/verify.go

    // to the chain in currentChain.
    func (c *Certificate) isValid(certType int, currentChain []*Certificate, opts *VerifyOptions) error {
    	if len(c.UnhandledCriticalExtensions) > 0 {
    		return UnhandledCriticalExtension{}
    	}
    
    	if len(currentChain) > 0 {
    		child := currentChain[len(currentChain)-1]
    		if !bytes.Equal(child.RawIssuer, c.RawSubject) {
    			return CertificateInvalidError{c, NameMismatch, ""}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top