rfc

package
v3.0.0-...-cfbdf18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAiaNoHTTPorLDAP

func NewAiaNoHTTPorLDAP() lint.LintInterface

func NewAuthorityKeyIdCritical

func NewAuthorityKeyIdCritical() lint.LintInterface

func NewAuthorityKeyIdMissing

func NewAuthorityKeyIdMissing() lint.LintInterface

func NewAuthorityKeyIdNoKeyIdField

func NewAuthorityKeyIdNoKeyIdField() lint.LintInterface

func NewBasicConstCrit

func NewBasicConstCrit() lint.LintInterface

func NewCaSubjectEmpty

func NewCaSubjectEmpty() lint.LintInterface

func NewCertContainsUniqueIdentifier

func NewCertContainsUniqueIdentifier() lint.LintInterface

func NewCertExtensionsVersonNot3

func NewCertExtensionsVersonNot3() lint.LintInterface

func NewCertUniqueIdVersion

func NewCertUniqueIdVersion() lint.LintInterface

func NewCheckKeyUsageCritical

func NewCheckKeyUsageCritical() lint.LintInterface

func NewControlChar

func NewControlChar() lint.LintInterface

func NewDNSNameEmptyLabel

func NewDNSNameEmptyLabel() lint.LintInterface

func NewDNSNameHyphenInSLD

func NewDNSNameHyphenInSLD() lint.LintInterface

func NewDNSNameLabelLengthTooLong

func NewDNSNameLabelLengthTooLong() lint.LintInterface

func NewDNSNameUnderscoreInSLD

func NewDNSNameUnderscoreInSLD() lint.LintInterface

func NewDNSNameUnderscoreInTRD

func NewDNSNameUnderscoreInTRD() lint.LintInterface

func NewDistribNoLDAPorURI

func NewDistribNoLDAPorURI() lint.LintInterface

func NewDpIncomplete

func NewDpIncomplete() lint.LintInterface

func NewEcdsaAllowedKU

func NewEcdsaAllowedKU() lint.LintInterface

func NewEcdsaInvalidKU

func NewEcdsaInvalidKU() lint.LintInterface

func NewEkuBadCritical

func NewEkuBadCritical() lint.LintInterface

func NewEmptyWithoutSAN

func NewEmptyWithoutSAN() lint.LintInterface

func NewExplicitTextIA5String

func NewExplicitTextIA5String() lint.LintInterface

func NewExplicitTextTooLong

func NewExplicitTextTooLong() lint.LintInterface

func NewExplicitTextUtf8

func NewExplicitTextUtf8() lint.LintInterface

func NewExtAiaMarkedCritical

func NewExtAiaMarkedCritical() lint.LintInterface

func NewExtCertPolicyDuplicate

func NewExtCertPolicyDuplicate() lint.LintInterface

func NewExtCertPolicyExplicitTextNotNFC

func NewExtCertPolicyExplicitTextNotNFC() lint.LintInterface

func NewExtCrlDistributionMarkedCritical

func NewExtCrlDistributionMarkedCritical() lint.LintInterface

func NewExtDuplicateExtension

func NewExtDuplicateExtension() lint.LintInterface

func NewExtFreshestCrlMarkedCritical

func NewExtFreshestCrlMarkedCritical() lint.LintInterface

func NewExtIANCritical

func NewExtIANCritical() lint.LintInterface

func NewExtSANNotCritNoSubject

func NewExtSANNotCritNoSubject() lint.LintInterface

func NewExtSANURIFormatInvalid

func NewExtSANURIFormatInvalid() lint.LintInterface

func NewExtSANURINotIA5

func NewExtSANURINotIA5() lint.LintInterface

func NewExtSANURIRelative

func NewExtSANURIRelative() lint.LintInterface

func NewGeneralizedNoSeconds

func NewGeneralizedNoSeconds() lint.LintInterface

func NewGeneralizedNotZulu

func NewGeneralizedNotZulu() lint.LintInterface

func NewGeneralizedPre2050

func NewGeneralizedPre2050() lint.LintInterface

func NewGeneralizedTimeFraction

func NewGeneralizedTimeFraction() lint.LintInterface

func NewIANDNSNotIA5String

func NewIANDNSNotIA5String() lint.LintInterface

func NewIANEmail

func NewIANEmail() lint.LintInterface

func NewIANEmptyName

func NewIANEmptyName() lint.LintInterface

func NewIANNoEntry

func NewIANNoEntry() lint.LintInterface

func NewIANSpace

func NewIANSpace() lint.LintInterface

func NewIANURIFQDNOrIP

func NewIANURIFQDNOrIP() lint.LintInterface

func NewIANURIFormat

func NewIANURIFormat() lint.LintInterface

func NewIANURIIA5String

func NewIANURIIA5String() lint.LintInterface

func NewIDNMalformedUnicode

func NewIDNMalformedUnicode() lint.LintInterface

func NewIDNNotNFC

func NewIDNNotNFC() lint.LintInterface

func NewIncorrectKuEncoding

func NewIncorrectKuEncoding() lint.LintInterface

func NewInhibitAnyPolicyNotCritical

func NewInhibitAnyPolicyNotCritical() lint.LintInterface

func NewInvalidEmail

func NewInvalidEmail() lint.LintInterface

func NewIssuerDNCountryNotPrintableString

func NewIssuerDNCountryNotPrintableString() lint.LintInterface

func NewIssuerFieldEmpty

func NewIssuerFieldEmpty() lint.LintInterface

func NewKeyUsageBitsSet

func NewKeyUsageBitsSet() lint.LintInterface

func NewKeyUsageCertSignNoCa

func NewKeyUsageCertSignNoCa() lint.LintInterface

func NewKeyUsageIncorrectLength

func NewKeyUsageIncorrectLength() lint.LintInterface

func NewMismatchingSigAlg

func NewMismatchingSigAlg() lint.LintInterface

func NewNameConstMin

func NewNameConstMin() lint.LintInterface

func NewNameConstraintCrit

func NewNameConstraintCrit() lint.LintInterface

func NewNameConstraintEmpty

func NewNameConstraintEmpty() lint.LintInterface

func NewNameConstraintMax

func NewNameConstraintMax() lint.LintInterface

func NewNameConstraintNotCa

func NewNameConstraintNotCa() lint.LintInterface

func NewNameConstraintNotFQDN

func NewNameConstraintNotFQDN() lint.LintInterface

func NewNameConstraintOnEDI

func NewNameConstraintOnEDI() lint.LintInterface

func NewNameConstraintOnRegisteredId

func NewNameConstraintOnRegisteredId() lint.LintInterface

func NewNameConstraintOnX400

func NewNameConstraintOnX400() lint.LintInterface

func NewNoticeRefPres

func NewNoticeRefPres() lint.LintInterface

func NewPathLenIncluded

func NewPathLenIncluded() lint.LintInterface

func NewPathLenNonPositive

func NewPathLenNonPositive() lint.LintInterface

func NewPolicyConstraintsContents

func NewPolicyConstraintsContents() lint.LintInterface

func NewPolicyConstraintsCritical

func NewPolicyConstraintsCritical() lint.LintInterface

func NewPolicyMapAnyPolicy

func NewPolicyMapAnyPolicy() lint.LintInterface

func NewPolicyMapCritical

func NewPolicyMapCritical() lint.LintInterface

func NewPolicyMapMatchesCertPolicy

func NewPolicyMapMatchesCertPolicy() lint.LintInterface

func NewRsaAllowedKUCa

func NewRsaAllowedKUCa() lint.LintInterface

func NewRsaAllowedKUCaNoEncipherment

func NewRsaAllowedKUCaNoEncipherment() lint.LintInterface

func NewRsaAllowedKUEe

func NewRsaAllowedKUEe() lint.LintInterface

func NewRsaSPKIEncryptionParamNotNULL

func NewRsaSPKIEncryptionParamNotNULL() lint.LintInterface

func NewRsaTBSSignatureEncryptionParamNotNULL

func NewRsaTBSSignatureEncryptionParamNotNULL() lint.LintInterface

func NewSANDNSNotIA5String

func NewSANDNSNotIA5String() lint.LintInterface

func NewSANDNSTooLong

func NewSANDNSTooLong() lint.LintInterface

func NewSANEmptyName

func NewSANEmptyName() lint.LintInterface

func NewSANIsSpaceDNS

func NewSANIsSpaceDNS() lint.LintInterface

func NewSANNoEntry

func NewSANNoEntry() lint.LintInterface

func NewSANURIHost

func NewSANURIHost() lint.LintInterface

func NewSerialNumberNotPositive

func NewSerialNumberNotPositive() lint.LintInterface

func NewSerialNumberTooLong

func NewSerialNumberTooLong() lint.LintInterface

func NewSiaCrit

func NewSiaCrit() lint.LintInterface

func NewSubDirAttrCrit

func NewSubDirAttrCrit() lint.LintInterface

func NewSubjectCommonNameMaxLength

func NewSubjectCommonNameMaxLength() lint.LintInterface

func NewSubjectDN

func NewSubjectDN() lint.LintInterface

func NewSubjectDNCountryNotPrintableString

func NewSubjectDNCountryNotPrintableString() lint.LintInterface

func NewSubjectDNNotPrintableCharacters

func NewSubjectDNNotPrintableCharacters() lint.LintInterface

func NewSubjectDNSerialNumberMaxLength

func NewSubjectDNSerialNumberMaxLength() lint.LintInterface

func NewSubjectDNSerialNumberNotPrintableString

func NewSubjectDNSerialNumberNotPrintableString() lint.LintInterface

func NewSubjectEmailMaxLength

func NewSubjectEmailMaxLength() lint.LintInterface

func NewSubjectGivenNameMaxLength

func NewSubjectGivenNameMaxLength() lint.LintInterface

func NewSubjectGivenNameRecommendedMaxLength

func NewSubjectGivenNameRecommendedMaxLength() lint.LintInterface

func NewSubjectKeyIdCritical

func NewSubjectKeyIdCritical() lint.LintInterface

func NewSubjectKeyIdMissingCA

func NewSubjectKeyIdMissingCA() lint.LintInterface

func NewSubjectKeyIdMissingSubscriber

func NewSubjectKeyIdMissingSubscriber() lint.LintInterface

func NewSubjectLocalityNameMaxLength

func NewSubjectLocalityNameMaxLength() lint.LintInterface

func NewSubjectOrganizationNameMaxLength

func NewSubjectOrganizationNameMaxLength() lint.LintInterface

func NewSubjectOrganizationalUnitNameMaxLength

func NewSubjectOrganizationalUnitNameMaxLength() lint.LintInterface

func NewSubjectPostalCodeMaxLength

func NewSubjectPostalCodeMaxLength() lint.LintInterface

func NewSubjectPrintableStringBadAlpha

func NewSubjectPrintableStringBadAlpha() lint.LintInterface

func NewSubjectStateNameMaxLength

func NewSubjectStateNameMaxLength() lint.LintInterface

func NewSubjectStreetAddressMaxLength

func NewSubjectStreetAddressMaxLength() lint.LintInterface

func NewSubjectSurnameMaxLength

func NewSubjectSurnameMaxLength() lint.LintInterface

func NewSubjectSurnameRecommendedMaxLength

func NewSubjectSurnameRecommendedMaxLength() lint.LintInterface

func NewSuperfluousKuEncoding

func NewSuperfluousKuEncoding() lint.LintInterface

func NewUnrecommendedQualifier

func NewUnrecommendedQualifier() lint.LintInterface

func NewUriRelative

func NewUriRelative() lint.LintInterface

func NewUtcNoSecond

func NewUtcNoSecond() lint.LintInterface

func NewUtcTimeGMT

func NewUtcTimeGMT() lint.LintInterface

Types

type CertContainsUniqueIdentifier

type CertContainsUniqueIdentifier struct{}

func (*CertContainsUniqueIdentifier) CheckApplies

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

func (*CertContainsUniqueIdentifier) Execute

type CertExtensionsVersonNot3

type CertExtensionsVersonNot3 struct{}

func (*CertExtensionsVersonNot3) CheckApplies

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

func (*CertExtensionsVersonNot3) Execute

type DNSNameEmptyLabel

type DNSNameEmptyLabel struct{}

func (*DNSNameEmptyLabel) CheckApplies

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

func (*DNSNameEmptyLabel) Execute

type DNSNameHyphenInSLD

type DNSNameHyphenInSLD struct{}

func (*DNSNameHyphenInSLD) CheckApplies

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

func (*DNSNameHyphenInSLD) Execute

type DNSNameLabelLengthTooLong

type DNSNameLabelLengthTooLong struct{}

func (*DNSNameLabelLengthTooLong) CheckApplies

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

func (*DNSNameLabelLengthTooLong) Execute

type DNSNameUnderscoreInSLD

type DNSNameUnderscoreInSLD struct{}

func (*DNSNameUnderscoreInSLD) CheckApplies

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

func (*DNSNameUnderscoreInSLD) Execute

type DNSNameUnderscoreInTRD

type DNSNameUnderscoreInTRD struct{}

func (*DNSNameUnderscoreInTRD) CheckApplies

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

func (*DNSNameUnderscoreInTRD) Execute

type ExtAiaMarkedCritical

type ExtAiaMarkedCritical struct{}

func (*ExtAiaMarkedCritical) CheckApplies

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

func (*ExtAiaMarkedCritical) Execute

type ExtCertPolicyDuplicate

type ExtCertPolicyDuplicate struct{}

func (*ExtCertPolicyDuplicate) CheckApplies

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

func (*ExtCertPolicyDuplicate) Execute

type ExtCertPolicyExplicitTextNotNFC

type ExtCertPolicyExplicitTextNotNFC struct{}

func (*ExtCertPolicyExplicitTextNotNFC) CheckApplies

func (*ExtCertPolicyExplicitTextNotNFC) Execute

type ExtCrlDistributionMarkedCritical

type ExtCrlDistributionMarkedCritical struct{}

func (*ExtCrlDistributionMarkedCritical) CheckApplies

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

func (*ExtCrlDistributionMarkedCritical) Execute

type ExtFreshestCrlMarkedCritical

type ExtFreshestCrlMarkedCritical struct{}

func (*ExtFreshestCrlMarkedCritical) CheckApplies

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

func (*ExtFreshestCrlMarkedCritical) Execute

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

type IANDNSNotIA5String

type IANDNSNotIA5String struct{}

func (*IANDNSNotIA5String) CheckApplies

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

func (*IANDNSNotIA5String) Execute

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

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

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

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

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

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

type IANURIIA5String

type IANURIIA5String struct{}

func (*IANURIIA5String) CheckApplies

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

func (*IANURIIA5String) Execute

type IDNMalformedUnicode

type IDNMalformedUnicode struct{}

func (*IDNMalformedUnicode) CheckApplies

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

func (*IDNMalformedUnicode) Execute

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

type InhibitAnyPolicyNotCritical

type InhibitAnyPolicyNotCritical struct{}

func (*InhibitAnyPolicyNotCritical) CheckApplies

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

func (*InhibitAnyPolicyNotCritical) Execute

type IssuerDNCountryNotPrintableString

type IssuerDNCountryNotPrintableString struct{}

func (*IssuerDNCountryNotPrintableString) CheckApplies

func (*IssuerDNCountryNotPrintableString) Execute

type SANDNSNotIA5String

type SANDNSNotIA5String struct{}

func (*SANDNSNotIA5String) CheckApplies

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

func (*SANDNSNotIA5String) Execute

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

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

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

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

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

type SerialNumberNotPositive

type SerialNumberNotPositive struct{}

func (*SerialNumberNotPositive) CheckApplies

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

func (*SerialNumberNotPositive) Execute

type SubjectDNCountryNotPrintableString

type SubjectDNCountryNotPrintableString struct{}

func (*SubjectDNCountryNotPrintableString) CheckApplies

func (*SubjectDNCountryNotPrintableString) Execute

type SubjectDNSerialNumberMaxLength

type SubjectDNSerialNumberMaxLength struct{}

func (*SubjectDNSerialNumberMaxLength) CheckApplies

func (*SubjectDNSerialNumberMaxLength) Execute

type SubjectDNSerialNumberNotPrintableString

type SubjectDNSerialNumberNotPrintableString struct{}

func (*SubjectDNSerialNumberNotPrintableString) CheckApplies

func (*SubjectDNSerialNumberNotPrintableString) Execute

type SubjectGivenNameRecommendedMaxLength

type SubjectGivenNameRecommendedMaxLength struct{}

func (*SubjectGivenNameRecommendedMaxLength) CheckApplies

func (*SubjectGivenNameRecommendedMaxLength) Execute

type SubjectSurnameRecommendedMaxLength

type SubjectSurnameRecommendedMaxLength struct{}

func (*SubjectSurnameRecommendedMaxLength) CheckApplies

func (*SubjectSurnameRecommendedMaxLength) Execute

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL