func certificateHasAIK(certificate *x509.Certificate) bool {
	for _, eku := range certificate.UnknownExtKeyUsage {
		if eku.Equal(oidAIKCertificate) {
			return true
		}
	}
	return false
}
// certificateHasAIK returns true if the certificate has the AIK extended key usage.
certificateHasAIK returns true if the certificate has the AIK extended key usage.
// certificateHasAIK returns true if the certificate has the AIK extended key usage .
func certificateHasAIK(certificate *x509.Certificate) bool {
	for _, eku := range certificate.UnknownExtKeyUsage {
		if eku.Equal(oidAIKCertificate) {
			return true
		}
	}
	return false
}
func certificateHasAIK ( certificate * x509 . Certificate ) bool { for _ , eku := range certificate . UnknownExtKeyUsage { if eku . Equal ( oidAIKCertificate ) { return true } } return false }
certificateHasAIK returns true if the certificate has the AIK extended key usage.
certificateHasAIK returns true if the certificate has the AIK extended key usage .