Documentation ¶
Index ¶
- func NewAdobeExtensionsLegacyMultipurposeCriticality() lint.CertificateLintInterface
- func NewAdobeExtensionsStrictPresence() lint.CertificateLintInterface
- func NewECOtherKeyUsages() lint.LintInterface
- func NewECPublicKeyKeyUsages() lint.LintInterface
- func NewEdwardsPublicKeyKeyUsages() lint.LintInterface
- func NewKeyUsageCriticality() lint.LintInterface
- func NewKeyUsagePresence() lint.LintInterface
- func NewLegacyMultipurposeEKUCheck() lint.CertificateLintInterface
- func NewMailboxValidatedEnforceSubjectFieldRestrictions() lint.LintInterface
- func NewRSAKeyUsageLegacyMultipurpose() lint.LintInterface
- func NewRSAKeyUsageStrict() lint.LintInterface
- func NewRSAOtherKeyUsages() lint.LintInterface
- func NewRegistrationSchemeIDMatchesSubjectCountry() lint.CertificateLintInterface
- func NewSMIMEAIAInternalName() lint.LintInterface
- func NewSMIMELegacyAIAHasOneHTTP() lint.LintInterface
- func NewSMIMEStrictAIAHasHTTPOnly() lint.LintInterface
- func NewSingleEmailIfPresent() lint.LintInterface
- func NewStrictEKUCheck() lint.CertificateLintInterface
- func NewSubjectAlternativeNameNotCritical() lint.LintInterface
- func NewSubjectAlternativeNameShallBePresent() lint.LintInterface
- func NewSubscriberCrlDistributionPoints() lint.LintInterface
- type SubjectAlternativeNameNotCritical
- type SubscriberCrlDistributionPoints
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdobeExtensionsLegacyMultipurposeCriticality ¶
func NewAdobeExtensionsLegacyMultipurposeCriticality() lint.CertificateLintInterface
NewAdobeExtensionsLegacyMultipurposeCriticality creates a new linter to enforce adobe x509 extensions requirements for multipurpose or legacy SMIME certs
func NewAdobeExtensionsStrictPresence ¶
func NewAdobeExtensionsStrictPresence() lint.CertificateLintInterface
NewAdobeExtensionsStrictPresence creates a new linter to enforce adobe x509 extensions requirements for strict SMIME certs
func NewECOtherKeyUsages ¶
func NewECOtherKeyUsages() lint.LintInterface
func NewECPublicKeyKeyUsages ¶
func NewECPublicKeyKeyUsages() lint.LintInterface
func NewEdwardsPublicKeyKeyUsages ¶
func NewEdwardsPublicKeyKeyUsages() lint.LintInterface
func NewKeyUsageCriticality ¶
func NewKeyUsageCriticality() lint.LintInterface
func NewKeyUsagePresence ¶
func NewKeyUsagePresence() lint.LintInterface
func NewLegacyMultipurposeEKUCheck ¶
func NewLegacyMultipurposeEKUCheck() lint.CertificateLintInterface
NewShallHaveCrlDistributionPoints creates a new linter to enforce MAY/SHALL NOT field requirements for mailbox validated SMIME certs
func NewMailboxValidatedEnforceSubjectFieldRestrictions ¶
func NewMailboxValidatedEnforceSubjectFieldRestrictions() lint.LintInterface
NewMailboxValidatedEnforceSubjectFieldRestrictions creates a new linter to enforce MAY/SHALL NOT field requirements for mailbox validated SMIME certs
func NewRSAKeyUsageLegacyMultipurpose ¶
func NewRSAKeyUsageLegacyMultipurpose() lint.LintInterface
func NewRSAKeyUsageStrict ¶
func NewRSAKeyUsageStrict() lint.LintInterface
func NewRSAOtherKeyUsages ¶
func NewRSAOtherKeyUsages() lint.LintInterface
func NewRegistrationSchemeIDMatchesSubjectCountry ¶
func NewRegistrationSchemeIDMatchesSubjectCountry() lint.CertificateLintInterface
NewRegistrationSchemeIDMatchesSubjectCountry creates a new linter to enforce SHALL requirements for registration scheme identifiers matching subject:countryName
func NewSMIMEAIAInternalName ¶
func NewSMIMEAIAInternalName() lint.LintInterface
func NewSMIMELegacyAIAHasOneHTTP ¶
func NewSMIMELegacyAIAHasOneHTTP() lint.LintInterface
func NewSMIMEStrictAIAHasHTTPOnly ¶
func NewSMIMEStrictAIAHasHTTPOnly() lint.LintInterface
func NewSingleEmailIfPresent ¶
func NewSingleEmailIfPresent() lint.LintInterface
func NewStrictEKUCheck ¶
func NewStrictEKUCheck() lint.CertificateLintInterface
NewShallHaveCrlDistributionPoints creates a new linter to enforce MAY/SHALL NOT field requirements for mailbox validated SMIME certs
func NewSubjectAlternativeNameNotCritical ¶
func NewSubjectAlternativeNameNotCritical() lint.LintInterface
func NewSubjectAlternativeNameShallBePresent ¶
func NewSubjectAlternativeNameShallBePresent() lint.LintInterface
func NewSubscriberCrlDistributionPoints ¶
func NewSubscriberCrlDistributionPoints() lint.LintInterface
Types ¶
type SubjectAlternativeNameNotCritical ¶
type SubjectAlternativeNameNotCritical struct{}
func (*SubjectAlternativeNameNotCritical) CheckApplies ¶
func (l *SubjectAlternativeNameNotCritical) CheckApplies(c *x509.Certificate) bool
func (*SubjectAlternativeNameNotCritical) Execute ¶
func (l *SubjectAlternativeNameNotCritical) Execute(c *x509.Certificate) *lint.LintResult
type SubscriberCrlDistributionPoints ¶
type SubscriberCrlDistributionPoints struct{}
func (*SubscriberCrlDistributionPoints) CheckApplies ¶
func (l *SubscriberCrlDistributionPoints) CheckApplies(c *x509.Certificate) bool
func (*SubscriberCrlDistributionPoints) Execute ¶
func (l *SubscriberCrlDistributionPoints) Execute(c *x509.Certificate) *lint.LintResult
Source Files ¶
- lint_adobe_extensions_legacy_multipurpose_criticality.go
- lint_adobe_extensions_strict_presence.go
- lint_aia_contains_internal_names.go
- lint_ecpublickey_key_usages.go
- lint_ecpublickey_other_key_usages.go
- lint_edwardspublickey_key_usages.go
- lint_key_usage_criticality.go
- lint_key_usage_presence.go
- lint_legacy_aia_has_one_http.go
- lint_registration_scheme_id_matches_subject_country.go
- lint_rsa_key_usage_legacy_multipurpose.go
- lint_rsa_key_usage_strict.go
- lint_rsa_other_key_usages.go
- lint_san_shall_be_present.go
- lint_san_should_not_be_critical.go
- lint_single_email_if_present.go
- lint_strict_aia_has_http_only.go
- lint_subscribers_shall_have_crl_distribution_points.go
- mailbox_validated_enforce_subject_field_restrictions.go
- smime_legacy_multipurpose_eku_check.go
- smime_strict_eku_check.go