Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for exportCertificate (0.21 sec)

  1. src/crypto/x509/root_darwin.go

    		}
    	}
    
    	if !checkChainForKeyUsage(chain[0], keyUsages) {
    		return nil, CertificateInvalidError{c, IncompatibleUsage, ""}
    	}
    
    	return chain, nil
    }
    
    // exportCertificate returns a *Certificate for a SecCertificateRef.
    func exportCertificate(cert macOS.CFRef) (*Certificate, error) {
    	data, err := macOS.SecCertificateCopyData(cert)
    	if err != nil {
    		return nil, err
    	}
    	return ParseCertificate(data)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 00:36:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top