Documentation ¶
Index ¶
- type CertPolicyIVRequiresCountry
- type CertPolicyIVRequiresProvinceOrLocal
- type CertPolicyOVRequiresCountry
- type CertPolicyOVRequiresProvinceOrLocal
- type CertPolicyRequiresOrg
- type CertPolicyRequiresPersonalName
- type DNSNameEmptyLabel
- type DNSNameHyphenInSLD
- type DNSNameLabelLengthTooLong
- type DNSNameLeftLabelWildcardCheck
- type DNSNameProperCharacters
- type DNSNameUnderscoreInSLD
- type DNSNameUnderscoreInTRD
- type DNSNameValidTLD
- type DNSNameWildcardLeftofPublicSuffix
- type DNSNameWildcardOnlyInLeftlabel
- type ExtSANCriticalWithSubjectDN
- type InvalidCertificateVersion
- type NCReservedIPNet
- type SANDirName
- type SANEDI
- type SANMissing
- type SANOtherName
- type SANRegId
- type SANReservedIP
- type SANRfc822
- type SANURI
- type SubCANameConstraintsNotCritical
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertPolicyIVRequiresCountry ¶
type CertPolicyIVRequiresCountry struct{}
func (*CertPolicyIVRequiresCountry) CheckApplies ¶
func (l *CertPolicyIVRequiresCountry) CheckApplies(cert *x509.Certificate) bool
func (*CertPolicyIVRequiresCountry) Execute ¶
func (l *CertPolicyIVRequiresCountry) Execute(cert *x509.Certificate) *lint.LintResult
func (*CertPolicyIVRequiresCountry) Initialize ¶
func (l *CertPolicyIVRequiresCountry) Initialize() error
type CertPolicyIVRequiresProvinceOrLocal ¶
type CertPolicyIVRequiresProvinceOrLocal struct{}
func (*CertPolicyIVRequiresProvinceOrLocal) CheckApplies ¶
func (l *CertPolicyIVRequiresProvinceOrLocal) CheckApplies(cert *x509.Certificate) bool
func (*CertPolicyIVRequiresProvinceOrLocal) Execute ¶
func (l *CertPolicyIVRequiresProvinceOrLocal) Execute(cert *x509.Certificate) *lint.LintResult
func (*CertPolicyIVRequiresProvinceOrLocal) Initialize ¶
func (l *CertPolicyIVRequiresProvinceOrLocal) Initialize() error
type CertPolicyOVRequiresCountry ¶
type CertPolicyOVRequiresCountry struct{}
func (*CertPolicyOVRequiresCountry) CheckApplies ¶
func (l *CertPolicyOVRequiresCountry) CheckApplies(cert *x509.Certificate) bool
func (*CertPolicyOVRequiresCountry) Execute ¶
func (l *CertPolicyOVRequiresCountry) Execute(cert *x509.Certificate) *lint.LintResult
func (*CertPolicyOVRequiresCountry) Initialize ¶
func (l *CertPolicyOVRequiresCountry) Initialize() error
type CertPolicyOVRequiresProvinceOrLocal ¶
type CertPolicyOVRequiresProvinceOrLocal struct{}
func (*CertPolicyOVRequiresProvinceOrLocal) CheckApplies ¶
func (l *CertPolicyOVRequiresProvinceOrLocal) CheckApplies(cert *x509.Certificate) bool
func (*CertPolicyOVRequiresProvinceOrLocal) Execute ¶
func (l *CertPolicyOVRequiresProvinceOrLocal) Execute(cert *x509.Certificate) *lint.LintResult
func (*CertPolicyOVRequiresProvinceOrLocal) Initialize ¶
func (l *CertPolicyOVRequiresProvinceOrLocal) Initialize() error
type CertPolicyRequiresOrg ¶
type CertPolicyRequiresOrg struct{}
func (*CertPolicyRequiresOrg) CheckApplies ¶
func (l *CertPolicyRequiresOrg) CheckApplies(cert *x509.Certificate) bool
func (*CertPolicyRequiresOrg) Execute ¶
func (l *CertPolicyRequiresOrg) Execute(cert *x509.Certificate) *lint.LintResult
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 (l *CertPolicyRequiresPersonalName) Execute(cert *x509.Certificate) *lint.LintResult
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 (l *DNSNameEmptyLabel) Execute(c *x509.Certificate) *lint.LintResult
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 (l *DNSNameHyphenInSLD) Execute(c *x509.Certificate) *lint.LintResult
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 (l *DNSNameLabelLengthTooLong) Execute(c *x509.Certificate) *lint.LintResult
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 (l *DNSNameLeftLabelWildcardCheck) Execute(c *x509.Certificate) *lint.LintResult
func (*DNSNameLeftLabelWildcardCheck) Initialize ¶
func (l *DNSNameLeftLabelWildcardCheck) Initialize() error
type DNSNameProperCharacters ¶
func (*DNSNameProperCharacters) CheckApplies ¶
func (l *DNSNameProperCharacters) CheckApplies(c *x509.Certificate) bool
func (*DNSNameProperCharacters) Execute ¶
func (l *DNSNameProperCharacters) Execute(c *x509.Certificate) *lint.LintResult
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 (l *DNSNameUnderscoreInSLD) Execute(c *x509.Certificate) *lint.LintResult
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 (l *DNSNameUnderscoreInTRD) Execute(c *x509.Certificate) *lint.LintResult
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 (l *DNSNameValidTLD) Execute(c *x509.Certificate) *lint.LintResult
func (*DNSNameValidTLD) Initialize ¶
func (l *DNSNameValidTLD) Initialize() error
type DNSNameWildcardLeftofPublicSuffix ¶
type DNSNameWildcardLeftofPublicSuffix struct{}
func (*DNSNameWildcardLeftofPublicSuffix) CheckApplies ¶
func (l *DNSNameWildcardLeftofPublicSuffix) CheckApplies(c *x509.Certificate) bool
func (*DNSNameWildcardLeftofPublicSuffix) Execute ¶
func (l *DNSNameWildcardLeftofPublicSuffix) Execute(c *x509.Certificate) *lint.LintResult
func (*DNSNameWildcardLeftofPublicSuffix) Initialize ¶
func (l *DNSNameWildcardLeftofPublicSuffix) Initialize() error
type DNSNameWildcardOnlyInLeftlabel ¶
type DNSNameWildcardOnlyInLeftlabel struct{}
func (*DNSNameWildcardOnlyInLeftlabel) CheckApplies ¶
func (l *DNSNameWildcardOnlyInLeftlabel) CheckApplies(c *x509.Certificate) bool
func (*DNSNameWildcardOnlyInLeftlabel) Execute ¶
func (l *DNSNameWildcardOnlyInLeftlabel) Execute(c *x509.Certificate) *lint.LintResult
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 (l *ExtSANCriticalWithSubjectDN) Execute(cert *x509.Certificate) *lint.LintResult
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 (l *InvalidCertificateVersion) Execute(cert *x509.Certificate) *lint.LintResult
func (*InvalidCertificateVersion) Initialize ¶
func (l *InvalidCertificateVersion) Initialize() error
type NCReservedIPNet ¶ added in v2.1.0
type NCReservedIPNet struct{}
func (*NCReservedIPNet) CheckApplies ¶ added in v2.1.0
func (l *NCReservedIPNet) CheckApplies(c *x509.Certificate) bool
func (*NCReservedIPNet) Execute ¶ added in v2.1.0
func (l *NCReservedIPNet) Execute(c *x509.Certificate) *lint.LintResult
func (*NCReservedIPNet) Initialize ¶ added in v2.1.0
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 ¶
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 ¶
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 ¶
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 ¶
type SubCANameConstraintsNotCritical ¶
type SubCANameConstraintsNotCritical struct{}
func (*SubCANameConstraintsNotCritical) CheckApplies ¶
func (l *SubCANameConstraintsNotCritical) CheckApplies(cert *x509.Certificate) bool
func (*SubCANameConstraintsNotCritical) Execute ¶
func (l *SubCANameConstraintsNotCritical) Execute(cert *x509.Certificate) *lint.LintResult
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
Click to show internal directories.
Click to hide internal directories.