x509.CANotAuthorizedForExtKeyUsage
// CANotAuthorizedForExtKeyUsage results when an intermediate or root
// certificate does not permit a requested extended key usage.
const CANotAuthorizedForExtKeyUsage = iota
x509.CANotAuthorizedForThisName
// CANotAuthorizedForThisName results when an intermediate or root
// certificate has a name constraint which doesn't permit a DNS or
// other name (including IP address) in the leaf certificate.
const CANotAuthorizedForThisName = iota
x509.CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS
// The default is to return only the highest quality chain,
// setting this flag will add additional lower quality contexts.
// These are returned in the LowerQualityChains field.
const CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS = 0x00000080
x509.DSA
const DSA = iota
x509.DSAWithSHA1
const DSAWithSHA1 = iota
x509.DSAWithSHA256
const DSAWithSHA256 = iota
x509.ECDSA
const ECDSA = iota
x509.ECDSAWithSHA1
const ECDSAWithSHA1 = iota
x509.ECDSAWithSHA256
const ECDSAWithSHA256 = iota
x509.ECDSAWithSHA384
const ECDSAWithSHA384 = iota
x509.ECDSAWithSHA512
const ECDSAWithSHA512 = iota
x509.Ed25519
const Ed25519 = iota
x509.Expired
// Expired results when a certificate has expired, based on the time
// given in the VerifyOptions.
const Expired = iota
x509.ExtKeyUsageAny
const ExtKeyUsageAny = iota
x509.ExtKeyUsageClientAuth
const ExtKeyUsageClientAuth = iota
x509.ExtKeyUsageCodeSigning
const ExtKeyUsageCodeSigning = iota
x509.ExtKeyUsageEmailProtection
const ExtKeyUsageEmailProtection = iota
x509.ExtKeyUsageIPSECEndSystem
const ExtKeyUsageIPSECEndSystem = iota
x509.ExtKeyUsageIPSECTunnel
const ExtKeyUsageIPSECTunnel = iota
x509.ExtKeyUsageIPSECUser
const ExtKeyUsageIPSECUser = iota
x509.ExtKeyUsageMicrosoftCommercialCodeSigning
const ExtKeyUsageMicrosoftCommercialCodeSigning = iota
x509.ExtKeyUsageMicrosoftKernelCodeSigning
const ExtKeyUsageMicrosoftKernelCodeSigning = iota
x509.ExtKeyUsageMicrosoftServerGatedCrypto
const ExtKeyUsageMicrosoftServerGatedCrypto = iota
x509.ExtKeyUsageNetscapeServerGatedCrypto
const ExtKeyUsageNetscapeServerGatedCrypto = iota
x509.ExtKeyUsageOCSPSigning
const ExtKeyUsageOCSPSigning = iota
x509.ExtKeyUsageServerAuth
const ExtKeyUsageServerAuth = iota
x509.ExtKeyUsageTimeStamping
const ExtKeyUsageTimeStamping = iota
x509.IncompatibleUsage
// IncompatibleUsage results when the certificate's key usage indicates
// that it may only be used for a different purpose.
const IncompatibleUsage = iota
x509.KeyUsageCRLSign
const KeyUsageCRLSign = iota
x509.KeyUsageCertSign
const KeyUsageCertSign = iota
x509.KeyUsageContentCommitment
const KeyUsageContentCommitment = iota
x509.KeyUsageDataEncipherment
const KeyUsageDataEncipherment = iota