package cabf_br

import "github.com/zmap/zlint/v2/lints/cabf_br"

Index

Types

type CertPolicyIVRequiresCountry

type CertPolicyIVRequiresCountry struct{}

func (*CertPolicyIVRequiresCountry) CheckApplies

func (l *CertPolicyIVRequiresCountry) CheckApplies(cert *x509.Certificate) bool

func (*CertPolicyIVRequiresCountry) Execute

func (*CertPolicyIVRequiresCountry) Initialize

func (l *CertPolicyIVRequiresCountry) Initialize() error

type CertPolicyIVRequiresProvinceOrLocal

type CertPolicyIVRequiresProvinceOrLocal struct{}

func (*CertPolicyIVRequiresProvinceOrLocal) CheckApplies

func (*CertPolicyIVRequiresProvinceOrLocal) Execute

func (*CertPolicyIVRequiresProvinceOrLocal) Initialize

type CertPolicyOVRequiresCountry

type CertPolicyOVRequiresCountry struct{}

func (*CertPolicyOVRequiresCountry) CheckApplies

func (l *CertPolicyOVRequiresCountry) CheckApplies(cert *x509.Certificate) bool

func (*CertPolicyOVRequiresCountry) Execute

func (*CertPolicyOVRequiresCountry) Initialize

func (l *CertPolicyOVRequiresCountry) Initialize() error

type CertPolicyOVRequiresProvinceOrLocal

type CertPolicyOVRequiresProvinceOrLocal struct{}

func (*CertPolicyOVRequiresProvinceOrLocal) CheckApplies

func (*CertPolicyOVRequiresProvinceOrLocal) Execute

func (*CertPolicyOVRequiresProvinceOrLocal) Initialize

type CertPolicyRequiresOrg

type CertPolicyRequiresOrg struct{}

func (*CertPolicyRequiresOrg) CheckApplies

func (l *CertPolicyRequiresOrg) CheckApplies(cert *x509.Certificate) bool

func (*CertPolicyRequiresOrg) Execute

func (*CertPolicyRequiresOrg) Initialize

func (l *CertPolicyRequiresOrg) Initialize() error

type CertPolicyRequiresPersonalName

type CertPolicyRequiresPersonalName struct{}

func (*CertPolicyRequiresPersonalName) CheckApplies

func (l *CertPolicyRequiresPersonalName) CheckApplies(cert *x509.Certificate) bool

func (*CertPolicyRequiresPersonalName) Execute

func (*CertPolicyRequiresPersonalName) Initialize

func (l *CertPolicyRequiresPersonalName) Initialize() error

type DNSNameEmptyLabel

type DNSNameEmptyLabel struct{}

func (*DNSNameEmptyLabel) CheckApplies

func (l *DNSNameEmptyLabel) CheckApplies(c *x509.Certificate) bool

func (*DNSNameEmptyLabel) Execute

func (*DNSNameEmptyLabel) Initialize

func (l *DNSNameEmptyLabel) Initialize() error

type DNSNameHyphenInSLD

type DNSNameHyphenInSLD struct{}

func (*DNSNameHyphenInSLD) CheckApplies

func (l *DNSNameHyphenInSLD) CheckApplies(c *x509.Certificate) bool

func (*DNSNameHyphenInSLD) Execute

func (*DNSNameHyphenInSLD) Initialize

func (l *DNSNameHyphenInSLD) Initialize() error

type DNSNameLabelLengthTooLong

type DNSNameLabelLengthTooLong struct{}

func (*DNSNameLabelLengthTooLong) CheckApplies

func (l *DNSNameLabelLengthTooLong) CheckApplies(c *x509.Certificate) bool

func (*DNSNameLabelLengthTooLong) Execute

func (*DNSNameLabelLengthTooLong) Initialize

func (l *DNSNameLabelLengthTooLong) Initialize() error

type DNSNameLeftLabelWildcardCheck

type DNSNameLeftLabelWildcardCheck struct{}

func (*DNSNameLeftLabelWildcardCheck) CheckApplies

func (l *DNSNameLeftLabelWildcardCheck) CheckApplies(c *x509.Certificate) bool

func (*DNSNameLeftLabelWildcardCheck) Execute

func (*DNSNameLeftLabelWildcardCheck) Initialize

func (l *DNSNameLeftLabelWildcardCheck) Initialize() error

type DNSNameProperCharacters

type DNSNameProperCharacters struct {
	CompiledExpression *regexp.Regexp
}

func (*DNSNameProperCharacters) CheckApplies

func (l *DNSNameProperCharacters) CheckApplies(c *x509.Certificate) bool

func (*DNSNameProperCharacters) Execute

func (*DNSNameProperCharacters) Initialize

func (l *DNSNameProperCharacters) Initialize() error

type DNSNameUnderscoreInSLD

type DNSNameUnderscoreInSLD struct{}

func (*DNSNameUnderscoreInSLD) CheckApplies

func (l *DNSNameUnderscoreInSLD) CheckApplies(c *x509.Certificate) bool

func (*DNSNameUnderscoreInSLD) Execute

func (*DNSNameUnderscoreInSLD) Initialize

func (l *DNSNameUnderscoreInSLD) Initialize() error

type DNSNameUnderscoreInTRD

type DNSNameUnderscoreInTRD struct{}

func (*DNSNameUnderscoreInTRD) CheckApplies

func (l *DNSNameUnderscoreInTRD) CheckApplies(c *x509.Certificate) bool

func (*DNSNameUnderscoreInTRD) Execute

func (*DNSNameUnderscoreInTRD) Initialize

func (l *DNSNameUnderscoreInTRD) Initialize() error

type DNSNameValidTLD

type DNSNameValidTLD struct{}

func (*DNSNameValidTLD) CheckApplies

func (l *DNSNameValidTLD) CheckApplies(c *x509.Certificate) bool

func (*DNSNameValidTLD) Execute

func (*DNSNameValidTLD) Initialize

func (l *DNSNameValidTLD) Initialize() error

type DNSNameWildcardLeftofPublicSuffix

type DNSNameWildcardLeftofPublicSuffix struct{}

func (*DNSNameWildcardLeftofPublicSuffix) CheckApplies

func (*DNSNameWildcardLeftofPublicSuffix) Execute

func (*DNSNameWildcardLeftofPublicSuffix) Initialize

func (l *DNSNameWildcardLeftofPublicSuffix) Initialize() error

type DNSNameWildcardOnlyInLeftlabel

type DNSNameWildcardOnlyInLeftlabel struct{}

func (*DNSNameWildcardOnlyInLeftlabel) CheckApplies

func (*DNSNameWildcardOnlyInLeftlabel) Execute

func (*DNSNameWildcardOnlyInLeftlabel) Initialize

func (l *DNSNameWildcardOnlyInLeftlabel) Initialize() error

type ExtSANCriticalWithSubjectDN

type ExtSANCriticalWithSubjectDN struct{}

func (*ExtSANCriticalWithSubjectDN) CheckApplies

func (l *ExtSANCriticalWithSubjectDN) CheckApplies(cert *x509.Certificate) bool

func (*ExtSANCriticalWithSubjectDN) Execute

func (*ExtSANCriticalWithSubjectDN) Initialize

func (l *ExtSANCriticalWithSubjectDN) Initialize() error

type InvalidCertificateVersion

type InvalidCertificateVersion struct{}

func (*InvalidCertificateVersion) CheckApplies

func (l *InvalidCertificateVersion) CheckApplies(cert *x509.Certificate) bool

func (*InvalidCertificateVersion) Execute

func (*InvalidCertificateVersion) Initialize

func (l *InvalidCertificateVersion) Initialize() error

type NCReservedIPNet

type NCReservedIPNet struct{}

func (*NCReservedIPNet) CheckApplies

func (l *NCReservedIPNet) CheckApplies(c *x509.Certificate) bool

func (*NCReservedIPNet) Execute

func (*NCReservedIPNet) Initialize

func (l *NCReservedIPNet) Initialize() error

type SANDirName

type SANDirName struct{}

func (*SANDirName) CheckApplies

func (l *SANDirName) CheckApplies(c *x509.Certificate) bool

func (*SANDirName) Execute

func (l *SANDirName) Execute(c *x509.Certificate) *lint.LintResult

func (*SANDirName) Initialize

func (l *SANDirName) Initialize() error

type SANEDI

type SANEDI struct{}

func (*SANEDI) CheckApplies

func (l *SANEDI) CheckApplies(c *x509.Certificate) bool

func (*SANEDI) Execute

func (l *SANEDI) Execute(c *x509.Certificate) *lint.LintResult

func (*SANEDI) Initialize

func (l *SANEDI) Initialize() error

type SANMissing

type SANMissing struct{}

func (*SANMissing) CheckApplies

func (l *SANMissing) CheckApplies(c *x509.Certificate) bool

func (*SANMissing) Execute

func (l *SANMissing) Execute(c *x509.Certificate) *lint.LintResult

func (*SANMissing) Initialize

func (l *SANMissing) Initialize() error

type SANOtherName

type SANOtherName struct{}

func (*SANOtherName) CheckApplies

func (l *SANOtherName) CheckApplies(c *x509.Certificate) bool

func (*SANOtherName) Execute

func (l *SANOtherName) Execute(c *x509.Certificate) *lint.LintResult

func (*SANOtherName) Initialize

func (l *SANOtherName) Initialize() error

type SANRegId

type SANRegId struct{}

func (*SANRegId) CheckApplies

func (l *SANRegId) CheckApplies(c *x509.Certificate) bool

func (*SANRegId) Execute

func (l *SANRegId) Execute(c *x509.Certificate) *lint.LintResult

func (*SANRegId) Initialize

func (l *SANRegId) Initialize() error

type SANReservedIP

type SANReservedIP struct{}

func (*SANReservedIP) CheckApplies

func (l *SANReservedIP) CheckApplies(c *x509.Certificate) bool

func (*SANReservedIP) Execute

func (l *SANReservedIP) Execute(c *x509.Certificate) *lint.LintResult

func (*SANReservedIP) Initialize

func (l *SANReservedIP) Initialize() error

type SANRfc822

type SANRfc822 struct{}

func (*SANRfc822) CheckApplies

func (l *SANRfc822) CheckApplies(c *x509.Certificate) bool

func (*SANRfc822) Execute

func (l *SANRfc822) Execute(c *x509.Certificate) *lint.LintResult

func (*SANRfc822) Initialize

func (l *SANRfc822) Initialize() error

type SANURI

type SANURI struct{}

func (*SANURI) CheckApplies

func (l *SANURI) CheckApplies(c *x509.Certificate) bool

func (*SANURI) Execute

func (l *SANURI) Execute(c *x509.Certificate) *lint.LintResult

func (*SANURI) Initialize

func (l *SANURI) Initialize() error

type SubCANameConstraintsNotCritical

type SubCANameConstraintsNotCritical struct{}

func (*SubCANameConstraintsNotCritical) CheckApplies

func (l *SubCANameConstraintsNotCritical) CheckApplies(cert *x509.Certificate) bool

func (*SubCANameConstraintsNotCritical) Execute

func (*SubCANameConstraintsNotCritical) Initialize

func (l *SubCANameConstraintsNotCritical) Initialize() error

Source Files

lint_ca_common_name_missing.go lint_ca_country_name_invalid.go lint_ca_country_name_missing.go lint_ca_crl_sign_not_set.go lint_ca_digital_signature_not_set.go lint_ca_is_ca.go lint_ca_key_cert_sign_not_set.go lint_ca_key_usage_missing.go lint_ca_key_usage_not_critical.go lint_ca_organization_name_missing.go lint_cab_dv_conflicts_with_locality.go lint_cab_dv_conflicts_with_org.go lint_cab_dv_conflicts_with_postal.go lint_cab_dv_conflicts_with_province.go lint_cab_dv_conflicts_with_street.go lint_cab_iv_requires_personal_name.go lint_cab_ov_requires_org.go lint_cert_policy_iv_requires_country.go lint_cert_policy_iv_requires_province_or_locality.go lint_cert_policy_ov_requires_country.go lint_cert_policy_ov_requires_province_or_locality.go lint_dh_params_missing.go lint_dnsname_bad_character_in_label.go lint_dnsname_check_left_label_wildcard.go lint_dnsname_contains_bare_iana_suffix.go lint_dnsname_contains_empty_label.go lint_dnsname_hyphen_in_sld.go lint_dnsname_label_too_long.go lint_dnsname_right_label_valid_tld.go lint_dnsname_underscore_in_sld.go lint_dnsname_underscore_in_trd.go lint_dnsname_wildcard_left_of_public_suffix.go lint_dnsname_wildcard_only_in_left_label.go lint_dsa_correct_order_in_subgroup.go lint_dsa_improper_modulus_or_divisor_size.go lint_dsa_shorter_than_2048_bits.go lint_dsa_unique_correct_representation.go lint_ec_improper_curves.go lint_ext_nc_intersects_reserved_ip.go lint_ext_san_contains_reserved_ip.go lint_ext_san_critical_with_subject_dn.go lint_ext_san_directory_name_present.go lint_ext_san_edi_party_name_present.go lint_ext_san_missing.go lint_ext_san_other_name_present.go lint_ext_san_registered_id_present.go lint_ext_san_rfc822_name_present.go lint_ext_san_uniform_resource_identifier_present.go lint_ext_tor_service_descriptor_hash_invalid.go lint_extra_subject_common_names.go lint_invalid_certificate_version.go lint_old_root_ca_rsa_mod_less_than_2048_bits.go lint_old_sub_ca_rsa_mod_less_than_1024_bits.go lint_old_sub_cert_rsa_mod_less_than_1024_bits.go lint_public_key_type_not_allowed.go lint_root_ca_basic_constraints_path_len_constraint_field_present.go lint_root_ca_contains_cert_policy.go lint_root_ca_extended_key_usage_present.go lint_root_ca_key_usage_must_be_critical.go lint_root_ca_key_usage_present.go lint_rsa_mod_factors_smaller_than_752_bits.go lint_rsa_mod_less_than_2048_bits.go lint_rsa_mod_not_odd.go lint_rsa_public_exponent_not_in_range.go lint_rsa_public_exponent_not_odd.go lint_rsa_public_exponent_too_small.go lint_san_dns_name_onion_invalid.go lint_san_dns_name_onion_not_ev_cert.go lint_signature_algorithm_not_supported.go lint_sub_ca_aia_does_not_contain_issuing_ca_url.go lint_sub_ca_aia_marked_critical.go lint_sub_ca_aia_missing.go lint_sub_ca_certificate_policies_marked_critical.go lint_sub_ca_certificate_policies_missing.go lint_sub_ca_crl_distribution_points_does_not_contain_url.go lint_sub_ca_crl_distribution_points_marked_critical.go lint_sub_ca_crl_distribution_points_missing.go lint_sub_ca_eku_critical.go lint_sub_ca_eku_missing.go lint_sub_ca_eku_valid_fields.go lint_sub_ca_name_constraints_not_critical.go lint_sub_cert_aia_does_not_contain_issuing_ca_url.go lint_sub_cert_aia_does_not_contain_ocsp_url.go lint_sub_cert_aia_marked_critical.go lint_sub_cert_aia_missing.go lint_sub_cert_cert_policy_empty.go lint_sub_cert_certificate_policies_marked_critical.go lint_sub_cert_certificate_policies_missing.go lint_sub_cert_country_name_must_appear.go lint_sub_cert_crl_distribution_points_does_not_contain_url.go lint_sub_cert_crl_distribution_points_marked_critical.go lint_sub_cert_eku_extra_values.go lint_sub_cert_eku_missing.go lint_sub_cert_eku_server_auth_client_auth_missing.go lint_sub_cert_gn_sn_contains_policy.go lint_sub_cert_is_ca.go lint_sub_cert_key_usage_cert_sign_bit_set.go lint_sub_cert_key_usage_crl_sign_bit_set.go lint_sub_cert_locality_name_must_appear.go lint_sub_cert_locality_name_must_not_appear.go lint_sub_cert_or_sub_ca_using_sha1.go lint_sub_cert_postal_code_prohibited.go lint_sub_cert_province_must_appear.go lint_sub_cert_province_must_not_appear.go lint_sub_cert_sha1_expiration_too_long.go lint_sub_cert_street_address_should_not_exist.go lint_sub_cert_valid_time_longer_than_39_months.go lint_sub_cert_valid_time_longer_than_825_days.go lint_subject_common_name_included.go lint_subject_common_name_not_from_san.go lint_subject_contains_malformed_arpa_ip.go lint_subject_contains_noninformational_value.go lint_subject_contains_reserved_arpa_ip.go lint_subject_contains_reserved_ip.go lint_subject_country_not_iso.go

Version
v2.2.1 (latest)
Published
Oct 9, 2020
Platform
js/wasm
Imports
14 packages
Last checked
1 day ago

Tools for package owners.