Documentation ¶
Index ¶
- type CertContainsUniqueIdentifier
- type CertExtensionsVersonNot3
- type ExtAiaMarkedCritical
- type ExtCertPolicyDuplicate
- type ExtCertPolicyExplicitTextNotNFC
- type ExtCrlDistributionMarkedCritical
- type ExtDuplicateExtension
- type ExtFreshestCrlMarkedCritical
- type ExtIANCritical
- type IANDNSNotIA5String
- type IANEmail
- type IANEmptyName
- type IANNoEntry
- type IANSpace
- type IANURIFQDNOrIP
- type IANURIFormat
- type IANURIIA5String
- type IDNMalformedUnicode
- type IDNNotNFC
- type InhibitAnyPolicyNotCritical
- type IssuerDNCountryNotPrintableString
- type SANDNSNotIA5String
- type SANDNSTooLong
- type SANEmptyName
- type SANIsSpaceDNS
- type SANNoEntry
- type SANURIHost
- type SerialNumberNotPositive
- type SubjectDNCountryNotPrintableString
- type SubjectDNSerialNumberMaxLength
- type SubjectDNSerialNumberNotPrintableString
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertContainsUniqueIdentifier ¶
type CertContainsUniqueIdentifier struct{}
func (*CertContainsUniqueIdentifier) CheckApplies ¶
func (l *CertContainsUniqueIdentifier) CheckApplies(cert *x509.Certificate) bool
func (*CertContainsUniqueIdentifier) Execute ¶
func (l *CertContainsUniqueIdentifier) Execute(cert *x509.Certificate) *lint.LintResult
func (*CertContainsUniqueIdentifier) Initialize ¶
func (l *CertContainsUniqueIdentifier) Initialize() error
type CertExtensionsVersonNot3 ¶
type CertExtensionsVersonNot3 struct{}
func (*CertExtensionsVersonNot3) CheckApplies ¶
func (l *CertExtensionsVersonNot3) CheckApplies(cert *x509.Certificate) bool
func (*CertExtensionsVersonNot3) Execute ¶
func (l *CertExtensionsVersonNot3) Execute(cert *x509.Certificate) *lint.LintResult
func (*CertExtensionsVersonNot3) Initialize ¶
func (l *CertExtensionsVersonNot3) Initialize() error
type ExtAiaMarkedCritical ¶
type ExtAiaMarkedCritical struct{}
func (*ExtAiaMarkedCritical) CheckApplies ¶
func (l *ExtAiaMarkedCritical) CheckApplies(cert *x509.Certificate) bool
func (*ExtAiaMarkedCritical) Execute ¶
func (l *ExtAiaMarkedCritical) Execute(cert *x509.Certificate) *lint.LintResult
func (*ExtAiaMarkedCritical) Initialize ¶
func (l *ExtAiaMarkedCritical) Initialize() error
type ExtCertPolicyDuplicate ¶
type ExtCertPolicyDuplicate struct{}
func (*ExtCertPolicyDuplicate) CheckApplies ¶
func (l *ExtCertPolicyDuplicate) CheckApplies(cert *x509.Certificate) bool
func (*ExtCertPolicyDuplicate) Execute ¶
func (l *ExtCertPolicyDuplicate) Execute(cert *x509.Certificate) *lint.LintResult
func (*ExtCertPolicyDuplicate) Initialize ¶
func (l *ExtCertPolicyDuplicate) Initialize() error
type ExtCertPolicyExplicitTextNotNFC ¶
type ExtCertPolicyExplicitTextNotNFC struct{}
func (*ExtCertPolicyExplicitTextNotNFC) CheckApplies ¶
func (l *ExtCertPolicyExplicitTextNotNFC) CheckApplies(c *x509.Certificate) bool
func (*ExtCertPolicyExplicitTextNotNFC) Execute ¶
func (l *ExtCertPolicyExplicitTextNotNFC) Execute(c *x509.Certificate) *lint.LintResult
func (*ExtCertPolicyExplicitTextNotNFC) Initialize ¶
func (l *ExtCertPolicyExplicitTextNotNFC) Initialize() error
type ExtCrlDistributionMarkedCritical ¶
type ExtCrlDistributionMarkedCritical struct{}
func (*ExtCrlDistributionMarkedCritical) CheckApplies ¶
func (l *ExtCrlDistributionMarkedCritical) CheckApplies(cert *x509.Certificate) bool
func (*ExtCrlDistributionMarkedCritical) Execute ¶
func (l *ExtCrlDistributionMarkedCritical) Execute(cert *x509.Certificate) *lint.LintResult
func (*ExtCrlDistributionMarkedCritical) Initialize ¶
func (l *ExtCrlDistributionMarkedCritical) Initialize() error
type ExtDuplicateExtension ¶
type ExtDuplicateExtension struct{}
func (*ExtDuplicateExtension) CheckApplies ¶
func (l *ExtDuplicateExtension) CheckApplies(cert *x509.Certificate) bool
func (*ExtDuplicateExtension) Execute ¶
func (l *ExtDuplicateExtension) Execute(cert *x509.Certificate) *lint.LintResult
func (*ExtDuplicateExtension) Initialize ¶
func (l *ExtDuplicateExtension) Initialize() error
type ExtFreshestCrlMarkedCritical ¶
type ExtFreshestCrlMarkedCritical struct{}
func (*ExtFreshestCrlMarkedCritical) CheckApplies ¶
func (l *ExtFreshestCrlMarkedCritical) CheckApplies(cert *x509.Certificate) bool
func (*ExtFreshestCrlMarkedCritical) Execute ¶
func (l *ExtFreshestCrlMarkedCritical) Execute(cert *x509.Certificate) *lint.LintResult
func (*ExtFreshestCrlMarkedCritical) Initialize ¶
func (l *ExtFreshestCrlMarkedCritical) Initialize() error
type ExtIANCritical ¶
type ExtIANCritical struct{}
func (*ExtIANCritical) CheckApplies ¶
func (l *ExtIANCritical) CheckApplies(cert *x509.Certificate) bool
func (*ExtIANCritical) Execute ¶
func (l *ExtIANCritical) Execute(cert *x509.Certificate) *lint.LintResult
func (*ExtIANCritical) Initialize ¶
func (l *ExtIANCritical) Initialize() error
type IANDNSNotIA5String ¶
type IANDNSNotIA5String struct{}
func (*IANDNSNotIA5String) CheckApplies ¶
func (l *IANDNSNotIA5String) CheckApplies(c *x509.Certificate) bool
func (*IANDNSNotIA5String) Execute ¶
func (l *IANDNSNotIA5String) Execute(c *x509.Certificate) *lint.LintResult
func (*IANDNSNotIA5String) Initialize ¶
func (l *IANDNSNotIA5String) Initialize() error
type IANEmail ¶
type IANEmail struct{}
func (*IANEmail) CheckApplies ¶
func (l *IANEmail) CheckApplies(c *x509.Certificate) bool
func (*IANEmail) Execute ¶
func (l *IANEmail) Execute(c *x509.Certificate) *lint.LintResult
func (*IANEmail) Initialize ¶
type IANEmptyName ¶
type IANEmptyName struct{}
func (*IANEmptyName) CheckApplies ¶
func (l *IANEmptyName) CheckApplies(c *x509.Certificate) bool
func (*IANEmptyName) Execute ¶
func (l *IANEmptyName) Execute(c *x509.Certificate) *lint.LintResult
func (*IANEmptyName) Initialize ¶
func (l *IANEmptyName) Initialize() error
type IANNoEntry ¶
type IANNoEntry struct{}
func (*IANNoEntry) CheckApplies ¶
func (l *IANNoEntry) CheckApplies(c *x509.Certificate) bool
func (*IANNoEntry) Execute ¶
func (l *IANNoEntry) Execute(c *x509.Certificate) *lint.LintResult
func (*IANNoEntry) Initialize ¶
func (l *IANNoEntry) Initialize() error
type IANSpace ¶
type IANSpace struct{}
func (*IANSpace) CheckApplies ¶
func (l *IANSpace) CheckApplies(c *x509.Certificate) bool
func (*IANSpace) Execute ¶
func (l *IANSpace) Execute(c *x509.Certificate) *lint.LintResult
func (*IANSpace) Initialize ¶
type IANURIFQDNOrIP ¶
type IANURIFQDNOrIP struct{}
func (*IANURIFQDNOrIP) CheckApplies ¶
func (l *IANURIFQDNOrIP) CheckApplies(c *x509.Certificate) bool
func (*IANURIFQDNOrIP) Execute ¶
func (l *IANURIFQDNOrIP) Execute(c *x509.Certificate) *lint.LintResult
func (*IANURIFQDNOrIP) Initialize ¶
func (l *IANURIFQDNOrIP) Initialize() error
type IANURIFormat ¶
type IANURIFormat struct{}
func (*IANURIFormat) CheckApplies ¶
func (l *IANURIFormat) CheckApplies(c *x509.Certificate) bool
func (*IANURIFormat) Execute ¶
func (l *IANURIFormat) Execute(c *x509.Certificate) *lint.LintResult
func (*IANURIFormat) Initialize ¶
func (l *IANURIFormat) Initialize() error
type IANURIIA5String ¶
type IANURIIA5String struct{}
func (*IANURIIA5String) CheckApplies ¶
func (l *IANURIIA5String) CheckApplies(c *x509.Certificate) bool
func (*IANURIIA5String) Execute ¶
func (l *IANURIIA5String) Execute(c *x509.Certificate) *lint.LintResult
func (*IANURIIA5String) Initialize ¶
func (l *IANURIIA5String) Initialize() error
type IDNMalformedUnicode ¶
type IDNMalformedUnicode struct{}
func (*IDNMalformedUnicode) CheckApplies ¶
func (l *IDNMalformedUnicode) CheckApplies(c *x509.Certificate) bool
func (*IDNMalformedUnicode) Execute ¶
func (l *IDNMalformedUnicode) Execute(c *x509.Certificate) *lint.LintResult
func (*IDNMalformedUnicode) Initialize ¶
func (l *IDNMalformedUnicode) Initialize() error
type IDNNotNFC ¶
type IDNNotNFC struct{}
func (*IDNNotNFC) CheckApplies ¶
func (l *IDNNotNFC) CheckApplies(c *x509.Certificate) bool
func (*IDNNotNFC) Execute ¶
func (l *IDNNotNFC) Execute(c *x509.Certificate) *lint.LintResult
func (*IDNNotNFC) Initialize ¶
type InhibitAnyPolicyNotCritical ¶
type InhibitAnyPolicyNotCritical struct{}
func (*InhibitAnyPolicyNotCritical) CheckApplies ¶
func (l *InhibitAnyPolicyNotCritical) CheckApplies(cert *x509.Certificate) bool
func (*InhibitAnyPolicyNotCritical) Execute ¶
func (l *InhibitAnyPolicyNotCritical) Execute(cert *x509.Certificate) *lint.LintResult
func (*InhibitAnyPolicyNotCritical) Initialize ¶
func (l *InhibitAnyPolicyNotCritical) Initialize() error
type IssuerDNCountryNotPrintableString ¶
type IssuerDNCountryNotPrintableString struct{}
func (*IssuerDNCountryNotPrintableString) CheckApplies ¶
func (l *IssuerDNCountryNotPrintableString) CheckApplies(c *x509.Certificate) bool
func (*IssuerDNCountryNotPrintableString) Execute ¶
func (l *IssuerDNCountryNotPrintableString) Execute(c *x509.Certificate) *lint.LintResult
func (*IssuerDNCountryNotPrintableString) Initialize ¶
func (l *IssuerDNCountryNotPrintableString) Initialize() error
type SANDNSNotIA5String ¶
type SANDNSNotIA5String struct{}
func (*SANDNSNotIA5String) CheckApplies ¶
func (l *SANDNSNotIA5String) CheckApplies(c *x509.Certificate) bool
func (*SANDNSNotIA5String) Execute ¶
func (l *SANDNSNotIA5String) Execute(c *x509.Certificate) *lint.LintResult
func (*SANDNSNotIA5String) Initialize ¶
func (l *SANDNSNotIA5String) Initialize() error
type SANDNSTooLong ¶
type SANDNSTooLong struct{}
func (*SANDNSTooLong) CheckApplies ¶
func (l *SANDNSTooLong) CheckApplies(c *x509.Certificate) bool
func (*SANDNSTooLong) Execute ¶
func (l *SANDNSTooLong) Execute(c *x509.Certificate) *lint.LintResult
func (*SANDNSTooLong) Initialize ¶
func (l *SANDNSTooLong) Initialize() error
type SANEmptyName ¶
type SANEmptyName struct{}
func (*SANEmptyName) CheckApplies ¶
func (l *SANEmptyName) CheckApplies(c *x509.Certificate) bool
func (*SANEmptyName) Execute ¶
func (l *SANEmptyName) Execute(c *x509.Certificate) *lint.LintResult
func (*SANEmptyName) Initialize ¶
func (l *SANEmptyName) Initialize() error
type SANIsSpaceDNS ¶
type SANIsSpaceDNS struct{}
func (*SANIsSpaceDNS) CheckApplies ¶
func (l *SANIsSpaceDNS) CheckApplies(c *x509.Certificate) bool
func (*SANIsSpaceDNS) Execute ¶
func (l *SANIsSpaceDNS) Execute(c *x509.Certificate) *lint.LintResult
func (*SANIsSpaceDNS) Initialize ¶
func (l *SANIsSpaceDNS) Initialize() error
type SANNoEntry ¶
type SANNoEntry struct{}
func (*SANNoEntry) CheckApplies ¶
func (l *SANNoEntry) CheckApplies(c *x509.Certificate) bool
func (*SANNoEntry) Execute ¶
func (l *SANNoEntry) Execute(c *x509.Certificate) *lint.LintResult
func (*SANNoEntry) Initialize ¶
func (l *SANNoEntry) Initialize() error
type SANURIHost ¶
type SANURIHost struct{}
func (*SANURIHost) CheckApplies ¶
func (l *SANURIHost) CheckApplies(c *x509.Certificate) bool
func (*SANURIHost) Execute ¶
func (l *SANURIHost) Execute(c *x509.Certificate) *lint.LintResult
func (*SANURIHost) Initialize ¶
func (l *SANURIHost) Initialize() error
type SerialNumberNotPositive ¶
type SerialNumberNotPositive struct{}
func (*SerialNumberNotPositive) CheckApplies ¶
func (l *SerialNumberNotPositive) CheckApplies(cert *x509.Certificate) bool
func (*SerialNumberNotPositive) Execute ¶
func (l *SerialNumberNotPositive) Execute(cert *x509.Certificate) *lint.LintResult
func (*SerialNumberNotPositive) Initialize ¶
func (l *SerialNumberNotPositive) Initialize() error
type SubjectDNCountryNotPrintableString ¶
type SubjectDNCountryNotPrintableString struct{}
func (*SubjectDNCountryNotPrintableString) CheckApplies ¶
func (l *SubjectDNCountryNotPrintableString) CheckApplies(c *x509.Certificate) bool
func (*SubjectDNCountryNotPrintableString) Execute ¶
func (l *SubjectDNCountryNotPrintableString) Execute(c *x509.Certificate) *lint.LintResult
func (*SubjectDNCountryNotPrintableString) Initialize ¶
func (l *SubjectDNCountryNotPrintableString) Initialize() error
type SubjectDNSerialNumberMaxLength ¶
type SubjectDNSerialNumberMaxLength struct{}
func (*SubjectDNSerialNumberMaxLength) CheckApplies ¶
func (l *SubjectDNSerialNumberMaxLength) CheckApplies(c *x509.Certificate) bool
func (*SubjectDNSerialNumberMaxLength) Execute ¶
func (l *SubjectDNSerialNumberMaxLength) Execute(c *x509.Certificate) *lint.LintResult
func (*SubjectDNSerialNumberMaxLength) Initialize ¶
func (l *SubjectDNSerialNumberMaxLength) Initialize() error
type SubjectDNSerialNumberNotPrintableString ¶
type SubjectDNSerialNumberNotPrintableString struct{}
func (*SubjectDNSerialNumberNotPrintableString) CheckApplies ¶
func (l *SubjectDNSerialNumberNotPrintableString) CheckApplies(c *x509.Certificate) bool
func (*SubjectDNSerialNumberNotPrintableString) Execute ¶
func (l *SubjectDNSerialNumberNotPrintableString) Execute(c *x509.Certificate) *lint.LintResult
func (*SubjectDNSerialNumberNotPrintableString) Initialize ¶
func (l *SubjectDNSerialNumberNotPrintableString) Initialize() error
Source Files ¶
- lint_basic_constraints_not_critical.go
- lint_ca_subject_field_empty.go
- lint_cert_contains_unique_identifier.go
- lint_cert_extensions_version_not_3.go
- lint_cert_unique_identifier_version_not_2_or_3.go
- lint_distribution_point_incomplete.go
- lint_distribution_point_missing_ldap_or_uri.go
- lint_ecdsa_ee_invalid_ku.go
- lint_eku_critical_improperly.go
- lint_ext_aia_access_location_missing.go
- lint_ext_aia_marked_critical.go
- lint_ext_authority_key_identifier_critical.go
- lint_ext_authority_key_identifier_missing.go
- lint_ext_authority_key_identifier_no_key_identifier.go
- lint_ext_cert_policy_contains_noticeref.go
- lint_ext_cert_policy_disallowed_any_policy_qualifier.go
- lint_ext_cert_policy_duplicate.go
- lint_ext_cert_policy_explicit_text_ia5_string.go
- lint_ext_cert_policy_explicit_text_includes_control.go
- lint_ext_cert_policy_explicit_text_not_nfc.go
- lint_ext_cert_policy_explicit_text_not_utf8.go
- lint_ext_cert_policy_explicit_text_too_long.go
- lint_ext_crl_distribution_marked_critical.go
- lint_ext_duplicate_extension.go
- lint_ext_freshest_crl_marked_critical.go
- lint_ext_ian_critical.go
- lint_ext_ian_dns_not_ia5_string.go
- lint_ext_ian_empty_name.go
- lint_ext_ian_no_entries.go
- lint_ext_ian_rfc822_format_invalid.go
- lint_ext_ian_space_dns_name.go
- lint_ext_ian_uri_format_invalid.go
- lint_ext_ian_uri_host_not_fqdn_or_ip.go
- lint_ext_ian_uri_not_ia5.go
- lint_ext_ian_uri_relative.go
- lint_ext_key_usage_cert_sign_without_ca.go
- lint_ext_key_usage_not_critical.go
- lint_ext_key_usage_without_bits.go
- lint_ext_name_constraints_not_critical.go
- lint_ext_name_constraints_not_in_ca.go
- lint_ext_policy_constraints_empty.go
- lint_ext_policy_constraints_not_critical.go
- lint_ext_policy_map_any_policy.go
- lint_ext_policy_map_not_critical.go
- lint_ext_policy_map_not_in_cert_policy.go
- lint_ext_san_dns_name_too_long.go
- lint_ext_san_dns_not_ia5_string.go
- lint_ext_san_empty_name.go
- lint_ext_san_no_entries.go
- lint_ext_san_not_critical_without_subject.go
- lint_ext_san_rfc822_format_invalid.go
- lint_ext_san_space_dns_name.go
- lint_ext_san_uri_format_invalid.go
- lint_ext_san_uri_host_not_fqdn_or_ip.go
- lint_ext_san_uri_not_ia5.go
- lint_ext_san_uri_relative.go
- lint_ext_subject_directory_attr_critical.go
- lint_ext_subject_key_identifier_critical.go
- lint_ext_subject_key_identifier_missing_ca.go
- lint_ext_subject_key_identifier_missing_sub_cert.go
- lint_generalized_time_does_not_include_seconds.go
- lint_generalized_time_includes_fraction_seconds.go
- lint_generalized_time_not_in_zulu.go
- lint_idn_dnsname_malformed_unicode.go
- lint_idn_dnsname_must_be_nfc.go
- lint_inhibit_any_policy_not_critical.go
- lint_issuer_dn_country_not_printable_string.go
- lint_issuer_field_empty.go
- lint_name_constraint_empty.go
- lint_name_constraint_maximum_not_absent.go
- lint_name_constraint_minimum_non_zero.go
- lint_name_constraint_on_edi_party_name.go
- lint_name_constraint_on_registered_id.go
- lint_name_constraint_on_x400.go
- lint_path_len_constraint_improperly_included.go
- lint_path_len_constraint_zero_or_less.go
- lint_serial_number_longer_than_20_octets.go
- lint_serial_number_not_positive.go
- lint_spki_rsa_encryption_parameter_not_null.go
- lint_subject_common_name_max_length.go
- lint_subject_dn_country_not_printable_string.go
- lint_subject_dn_not_printable_characters.go
- lint_subject_dn_serial_number_max_length.go
- lint_subject_dn_serial_number_not_printable_string.go
- lint_subject_email_max_length.go
- lint_subject_empty_without_san.go
- lint_subject_given_name_max_length.go
- lint_subject_info_access_marked_critical.go
- lint_subject_locality_name_max_length.go
- lint_subject_not_dn.go
- lint_subject_organization_name_max_length.go
- lint_subject_organizational_unit_name_max_length.go
- lint_subject_postal_code_max_length.go
- lint_subject_printable_string_badalpha.go
- lint_subject_state_name_max_length.go
- lint_subject_street_address_max_length.go
- lint_subject_surname_max_length.go
- lint_tbs_signature_rsa_encryption_parameter_not_null.go
- lint_utc_time_does_not_include_seconds.go
- lint_utc_time_not_in_zulu.go
- lint_wrong_time_format_pre2050.go
Click to show internal directories.
Click to hide internal directories.