cabf_br

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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAlgorithmObjectIdentifierEncoding

func NewAlgorithmObjectIdentifierEncoding() lint.LintInterface

func NewArpaMalformedIP

func NewArpaMalformedIP() lint.LintInterface

func NewArpaReservedIP

func NewArpaReservedIP() lint.LintInterface

func NewCaAiaMissing

func NewCaAiaMissing() lint.LintInterface

func NewCaAiaShouldNotBeMissing

func NewCaAiaShouldNotBeMissing() lint.LintInterface

func NewCaCRLSignNotSet

func NewCaCRLSignNotSet() lint.LintInterface

func NewCaCommonNameMissing

func NewCaCommonNameMissing() lint.LintInterface

func NewCaCountryNameInvalid

func NewCaCountryNameInvalid() lint.LintInterface

func NewCaCountryNameMissing

func NewCaCountryNameMissing() lint.LintInterface

func NewCaDigSignNotSet

func NewCaDigSignNotSet() lint.LintInterface

func NewCaIsCA

func NewCaIsCA() lint.LintInterface

func NewCaKeyCertSignNotSet

func NewCaKeyCertSignNotSet() lint.LintInterface

func NewCaKeyUsageMissing

func NewCaKeyUsageMissing() lint.LintInterface

func NewCaKeyUsageNotCrit

func NewCaKeyUsageNotCrit() lint.LintInterface

func NewCaOrganizationNameMissing

func NewCaOrganizationNameMissing() lint.LintInterface

func NewCertPolicyConflictsWithLocality

func NewCertPolicyConflictsWithLocality() lint.LintInterface

func NewCertPolicyConflictsWithOrg

func NewCertPolicyConflictsWithOrg() lint.LintInterface

func NewCertPolicyConflictsWithPostal

func NewCertPolicyConflictsWithPostal() lint.LintInterface

func NewCertPolicyConflictsWithProvince

func NewCertPolicyConflictsWithProvince() lint.LintInterface

func NewCertPolicyConflictsWithStreet

func NewCertPolicyConflictsWithStreet() lint.LintInterface

func NewCertPolicyIVRequiresCountry

func NewCertPolicyIVRequiresCountry() lint.LintInterface

func NewCertPolicyIVRequiresProvinceOrLocal

func NewCertPolicyIVRequiresProvinceOrLocal() lint.LintInterface

func NewCertPolicyOVRequiresCountry

func NewCertPolicyOVRequiresCountry() lint.LintInterface

func NewCertPolicyOVRequiresProvinceOrLocal

func NewCertPolicyOVRequiresProvinceOrLocal() lint.LintInterface

func NewCertPolicyRequiresOrg

func NewCertPolicyRequiresOrg() lint.LintInterface

func NewCertPolicyRequiresPersonalName

func NewCertPolicyRequiresPersonalName() lint.LintInterface

func NewCommonNames

func NewCommonNames() lint.LintInterface

func NewCountryNotIso

func NewCountryNotIso() lint.LintInterface

func NewDNSNameContainsProhibitedReservedLabel

func NewDNSNameContainsProhibitedReservedLabel() lint.LintInterface

func NewDNSNameEmptyLabel

func NewDNSNameEmptyLabel() lint.LintInterface

func NewDNSNameHyphenInSLD

func NewDNSNameHyphenInSLD() lint.LintInterface

func NewDNSNameLabelLengthTooLong

func NewDNSNameLabelLengthTooLong() lint.LintInterface

func NewDNSNameLeftLabelWildcardCheck

func NewDNSNameLeftLabelWildcardCheck() lint.LintInterface

func NewDNSNameProperCharacters

func NewDNSNameProperCharacters() lint.LintInterface

func NewDNSNameUnderscoreInSLD

func NewDNSNameUnderscoreInSLD() lint.LintInterface

func NewDNSNameUnderscoreInTRD

func NewDNSNameUnderscoreInTRD() lint.LintInterface

func NewDNSNameValidTLD

func NewDNSNameValidTLD() lint.LintInterface

func NewDNSNameWildcardLeftofPublicSuffix

func NewDNSNameWildcardLeftofPublicSuffix() lint.LintInterface

func NewDNSNameWildcardOnlyInLeftlabel

func NewDNSNameWildcardOnlyInLeftlabel() lint.LintInterface

func NewDnsNameContainsBareIANASuffix

func NewDnsNameContainsBareIANASuffix() lint.LintInterface

func NewDsaImproperSize

func NewDsaImproperSize() lint.LintInterface

func NewDsaParamsMissing

func NewDsaParamsMissing() lint.LintInterface

func NewDsaSubgroup

func NewDsaSubgroup() lint.LintInterface

func NewDsaTooShort

func NewDsaTooShort() lint.LintInterface

func NewDsaUniqueCorrectRepresentation

func NewDsaUniqueCorrectRepresentation() lint.LintInterface

func NewEcImproperCurves

func NewEcImproperCurves() lint.LintInterface

func NewExtSANCriticalWithSubjectDN

func NewExtSANCriticalWithSubjectDN() lint.LintInterface

func NewExtraSubjectCommonNames

func NewExtraSubjectCommonNames() lint.LintInterface

func NewIllegalChar

func NewIllegalChar() lint.LintInterface

func NewInvalidCertificateVersion

func NewInvalidCertificateVersion() lint.LintInterface

func NewNCReservedIPNet

func NewNCReservedIPNet() lint.LintInterface

func NewNoUnderscoreBefore1_6_2

func NewNoUnderscoreBefore1_6_2() lint.LintInterface

func NewOCSPIDPKIXOCSPNocheckExtNotIncludedServerAuth

func NewOCSPIDPKIXOCSPNocheckExtNotIncludedServerAuth() lint.LintInterface

func NewOnionNotEV

func NewOnionNotEV() lint.LintInterface

func NewOnionNotValid

func NewOnionNotValid() lint.LintInterface

func NewOrganizationalUnitNameProhibited

func NewOrganizationalUnitNameProhibited() lint.LintInterface

func NewProhibitDSAUsage

func NewProhibitDSAUsage() lint.LintInterface

func NewPublicKeyAllowed

func NewPublicKeyAllowed() lint.LintInterface

func NewRootCAContainsCertPolicy

func NewRootCAContainsCertPolicy() lint.LintInterface

func NewRootCAContainsEKU

func NewRootCAContainsEKU() lint.LintInterface

func NewRootCAKeyUsageMustBeCritical

func NewRootCAKeyUsageMustBeCritical() lint.LintInterface

func NewRootCAKeyUsagePresent

func NewRootCAKeyUsagePresent() lint.LintInterface

func NewRootCaModSize

func NewRootCaModSize() lint.LintInterface

func NewRootCaPathLenPresent

func NewRootCaPathLenPresent() lint.LintInterface

func NewRsaModSmallFactor

func NewRsaModSmallFactor() lint.LintInterface

func NewRsaParsedTestsExpBounds

func NewRsaParsedTestsExpBounds() lint.LintInterface

func NewRsaParsedTestsExpInRange

func NewRsaParsedTestsExpInRange() lint.LintInterface

func NewRsaParsedTestsKeyExpOdd

func NewRsaParsedTestsKeyExpOdd() lint.LintInterface

func NewRsaParsedTestsKeyModOdd

func NewRsaParsedTestsKeyModOdd() lint.LintInterface

func NewRsaParsedTestsKeySize

func NewRsaParsedTestsKeySize() lint.LintInterface

func NewSANDirName

func NewSANDirName() lint.LintInterface

func NewSANEDI

func NewSANEDI() lint.LintInterface

func NewSANMissing

func NewSANMissing() lint.LintInterface

func NewSANOtherName

func NewSANOtherName() lint.LintInterface

func NewSANRegId

func NewSANRegId() lint.LintInterface

func NewSANReservedIP

func NewSANReservedIP() lint.LintInterface

func NewSANRfc822

func NewSANRfc822() lint.LintInterface

func NewSANURI

func NewSANURI() lint.LintInterface

func NewSha1ExpireLong

func NewSha1ExpireLong() lint.LintInterface

func NewSigAlgTestsSHA1

func NewSigAlgTestsSHA1() lint.LintInterface

func NewSignatureAlgorithmNotSupported

func NewSignatureAlgorithmNotSupported() lint.LintInterface

func NewSubCACRLDistCrit

func NewSubCACRLDistCrit() lint.LintInterface

func NewSubCACRLDistMissing

func NewSubCACRLDistMissing() lint.LintInterface

func NewSubCACRLDistNoUrl

func NewSubCACRLDistNoUrl() lint.LintInterface

func NewSubCACertPolicyCrit

func NewSubCACertPolicyCrit() lint.LintInterface

func NewSubCACertPolicyMissing

func NewSubCACertPolicyMissing() lint.LintInterface

func NewSubCAEKUCrit

func NewSubCAEKUCrit() lint.LintInterface

func NewSubCAEKUMissing

func NewSubCAEKUMissing() lint.LintInterface

func NewSubCAEKUValidFields

func NewSubCAEKUValidFields() lint.LintInterface

func NewSubCANameConstraintsNotCritical

func NewSubCANameConstraintsNotCritical() lint.LintInterface

func NewSubCRLDistNoURL

func NewSubCRLDistNoURL() lint.LintInterface

func NewSubCaAIAMarkedCritical

func NewSubCaAIAMarkedCritical() lint.LintInterface

func NewSubCaIssuerUrl

func NewSubCaIssuerUrl() lint.LintInterface

func NewSubCaModSize

func NewSubCaModSize() lint.LintInterface

func NewSubCertAiaMarkedCritical

func NewSubCertAiaMarkedCritical() lint.LintInterface

func NewSubCertAiaMissing

func NewSubCertAiaMissing() lint.LintInterface

func NewSubCertCountryNameMustAppear

func NewSubCertCountryNameMustAppear() lint.LintInterface

func NewSubCertIssuerUrl

func NewSubCertIssuerUrl() lint.LintInterface

func NewSubCertKeyUsageBitSet

func NewSubCertKeyUsageBitSet() lint.LintInterface

func NewSubCertLocalityNameMustAppear

func NewSubCertLocalityNameMustAppear() lint.LintInterface

func NewSubCertLocalityNameMustNotAppear

func NewSubCertLocalityNameMustNotAppear() lint.LintInterface

func NewSubCertNotCA

func NewSubCertNotCA() lint.LintInterface

func NewSubCertOcspUrl

func NewSubCertOcspUrl() lint.LintInterface

func NewSubCertPolicy

func NewSubCertPolicy() lint.LintInterface

func NewSubCertPolicyCrit

func NewSubCertPolicyCrit() lint.LintInterface

func NewSubCertPolicyEmpty

func NewSubCertPolicyEmpty() lint.LintInterface

func NewSubCertPostalCodeMustNotAppear

func NewSubCertPostalCodeMustNotAppear() lint.LintInterface

func NewSubCertProvinceMustAppear

func NewSubCertProvinceMustAppear() lint.LintInterface

func NewSubCertProvinceMustNotAppear

func NewSubCertProvinceMustNotAppear() lint.LintInterface

func NewSubCertStreetAddressShouldNotExist

func NewSubCertStreetAddressShouldNotExist() lint.LintInterface

func NewSubCertSubjectGnOrSnContainsPolicy

func NewSubCertSubjectGnOrSnContainsPolicy() lint.LintInterface

func NewSubCertValidTimeLongerThan39Months

func NewSubCertValidTimeLongerThan39Months() lint.LintInterface

func NewSubCertValidTimeLongerThan825Days

func NewSubCertValidTimeLongerThan825Days() lint.LintInterface

func NewSubCrlDistCrit

func NewSubCrlDistCrit() lint.LintInterface

func NewSubCrlSignAllowed

func NewSubCrlSignAllowed() lint.LintInterface

func NewSubExtKeyUsage

func NewSubExtKeyUsage() lint.LintInterface

func NewSubExtKeyUsageClientOrServer

func NewSubExtKeyUsageClientOrServer() lint.LintInterface

func NewSubExtKeyUsageLegalUsage

func NewSubExtKeyUsageLegalUsage() lint.LintInterface

func NewSubModSize

func NewSubModSize() lint.LintInterface

func NewSubjectCommonNameNotExactlyFromSAN

func NewSubjectCommonNameNotExactlyFromSAN() lint.LintInterface

func NewSubjectCommonNameNotFromSAN

func NewSubjectCommonNameNotFromSAN() lint.LintInterface

func NewSubjectContainsOrganizationalUnitNameButNoOrganizationName

func NewSubjectContainsOrganizationalUnitNameButNoOrganizationName() lint.LintInterface

func NewSubjectReservedIP

func NewSubjectReservedIP() lint.LintInterface

func NewTorServiceDescHashInvalid

func NewTorServiceDescHashInvalid() lint.LintInterface

Types

type CertPolicyIVRequiresCountry

type CertPolicyIVRequiresCountry struct{}

func (*CertPolicyIVRequiresCountry) CheckApplies

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

func (*CertPolicyIVRequiresCountry) Execute

type CertPolicyIVRequiresProvinceOrLocal

type CertPolicyIVRequiresProvinceOrLocal struct{}

func (*CertPolicyIVRequiresProvinceOrLocal) CheckApplies

func (*CertPolicyIVRequiresProvinceOrLocal) Execute

type CertPolicyOVRequiresCountry

type CertPolicyOVRequiresCountry struct{}

func (*CertPolicyOVRequiresCountry) CheckApplies

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

func (*CertPolicyOVRequiresCountry) Execute

type CertPolicyOVRequiresProvinceOrLocal

type CertPolicyOVRequiresProvinceOrLocal struct{}

func (*CertPolicyOVRequiresProvinceOrLocal) CheckApplies

func (*CertPolicyOVRequiresProvinceOrLocal) Execute

type CertPolicyRequiresOrg

type CertPolicyRequiresOrg struct{}

func (*CertPolicyRequiresOrg) CheckApplies

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

func (*CertPolicyRequiresOrg) Execute

type CertPolicyRequiresPersonalName

type CertPolicyRequiresPersonalName struct{}

func (*CertPolicyRequiresPersonalName) CheckApplies

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

func (*CertPolicyRequiresPersonalName) Execute

type DNSNameContainsProhibitedReservedLabel

type DNSNameContainsProhibitedReservedLabel struct{}

func (*DNSNameContainsProhibitedReservedLabel) CheckApplies

func (*DNSNameContainsProhibitedReservedLabel) 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 DNSNameLeftLabelWildcardCheck

type DNSNameLeftLabelWildcardCheck struct{}

func (*DNSNameLeftLabelWildcardCheck) CheckApplies

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

func (*DNSNameLeftLabelWildcardCheck) Execute

type DNSNameProperCharacters

type DNSNameProperCharacters struct {
	CompiledExpression *regexp.Regexp
}

func (*DNSNameProperCharacters) CheckApplies

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

func (*DNSNameProperCharacters) 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 DNSNameValidTLD

type DNSNameValidTLD struct{}

func (*DNSNameValidTLD) CheckApplies

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

func (*DNSNameValidTLD) Execute

type DNSNameWildcardLeftofPublicSuffix

type DNSNameWildcardLeftofPublicSuffix struct{}

func (*DNSNameWildcardLeftofPublicSuffix) CheckApplies

func (*DNSNameWildcardLeftofPublicSuffix) Execute

type DNSNameWildcardOnlyInLeftlabel

type DNSNameWildcardOnlyInLeftlabel struct{}

func (*DNSNameWildcardOnlyInLeftlabel) CheckApplies

func (*DNSNameWildcardOnlyInLeftlabel) Execute

type ExtSANCriticalWithSubjectDN

type ExtSANCriticalWithSubjectDN struct{}

func (*ExtSANCriticalWithSubjectDN) CheckApplies

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

func (*ExtSANCriticalWithSubjectDN) Execute

type InvalidCertificateVersion

type InvalidCertificateVersion struct{}

func (*InvalidCertificateVersion) CheckApplies

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

func (*InvalidCertificateVersion) Execute

type NCReservedIPNet

type NCReservedIPNet struct{}

func (*NCReservedIPNet) CheckApplies

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

func (*NCReservedIPNet) Execute

type NoUnderscoreBefore1_6_2

type NoUnderscoreBefore1_6_2 struct{}

func (*NoUnderscoreBefore1_6_2) CheckApplies

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

func (*NoUnderscoreBefore1_6_2) Execute

type OCSPIDPKIXOCSPNocheckExtNotIncludedServerAuth

type OCSPIDPKIXOCSPNocheckExtNotIncludedServerAuth struct{}

func (*OCSPIDPKIXOCSPNocheckExtNotIncludedServerAuth) CheckApplies

func (*OCSPIDPKIXOCSPNocheckExtNotIncludedServerAuth) Execute

type OrganizationalUnitNameProhibited

type OrganizationalUnitNameProhibited struct{}

func (*OrganizationalUnitNameProhibited) CheckApplies

func (*OrganizationalUnitNameProhibited) Execute

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

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

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

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

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

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

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

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

type SubCANameConstraintsNotCritical

type SubCANameConstraintsNotCritical struct{}

func (*SubCANameConstraintsNotCritical) CheckApplies

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

func (*SubCANameConstraintsNotCritical) Execute

type SubjectContainsOrganizationalUnitNameButNoOrganizationName

type SubjectContainsOrganizationalUnitNameButNoOrganizationName struct{}

func (*SubjectContainsOrganizationalUnitNameButNoOrganizationName) CheckApplies

func (*SubjectContainsOrganizationalUnitNameButNoOrganizationName) Execute

type UnderscoreNotPermissibleInDNSName

type UnderscoreNotPermissibleInDNSName struct{}

func (*UnderscoreNotPermissibleInDNSName) CheckApplies

func (*UnderscoreNotPermissibleInDNSName) Execute

Source Files

Jump to

Keyboard shortcuts

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