cabf_br

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 (*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 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 (*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

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

Jump to

Keyboard shortcuts

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