cabf_smime_br

package
v3.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdobeExtensionsLegacyMultipurposeCriticality

func NewAdobeExtensionsLegacyMultipurposeCriticality() lint.CertificateLintInterface

NewAdobeExtensionsLegacyMultipurposeCriticality creates a new linter to enforce adobe x509 extensions requirements for multipurpose or legacy SMIME certs

func NewAdobeExtensionsStrictPresence

func NewAdobeExtensionsStrictPresence() lint.CertificateLintInterface

NewAdobeExtensionsStrictPresence creates a new linter to enforce adobe x509 extensions requirements for strict SMIME certs

func NewAuthorityKeyIdentifierCorrect added in v3.6.2

func NewAuthorityKeyIdentifierCorrect() lint.LintInterface

func NewCommonNameMailboxValidated added in v3.6.2

func NewCommonNameMailboxValidated() lint.LintInterface

func NewECOtherKeyUsages

func NewECOtherKeyUsages() lint.LintInterface

func NewECPublicKeyKeyUsages

func NewECPublicKeyKeyUsages() lint.LintInterface

func NewEdwardsPublicKeyKeyUsages

func NewEdwardsPublicKeyKeyUsages() lint.LintInterface

func NewKeyUsageCriticality

func NewKeyUsageCriticality() lint.LintInterface

func NewKeyUsagePresence

func NewKeyUsagePresence() lint.LintInterface

func NewLegacyMultipurposeEKUCheck

func NewLegacyMultipurposeEKUCheck() lint.CertificateLintInterface

NewLegacyMultipurposeEKUCheck creates a new linter to enforce MAY/SHALL NOT field requirements for mailbox validated SMIME certs

func NewLegalEntityIdentifier added in v3.6.2

func NewLegalEntityIdentifier() lint.LintInterface

func NewMailboxAddressFromSAN added in v3.6.2

func NewMailboxAddressFromSAN() lint.LintInterface

NewMailboxAddressFromSAN creates a new linter to enforce the requirement that all Mailbox Addresses in SMIME BR certificates must be copied from the SAN

func NewMailboxValidatedEnforceSubjectFieldRestrictions

func NewMailboxValidatedEnforceSubjectFieldRestrictions() lint.LintInterface

NewMailboxValidatedEnforceSubjectFieldRestrictions creates a new linter to enforce MAY/SHALL NOT field requirements for mailbox validated SMIME certs

func NewQCStatementNotCritical added in v3.6.2

func NewQCStatementNotCritical() lint.LintInterface

func NewRSAKeyUsageLegacyMultipurpose

func NewRSAKeyUsageLegacyMultipurpose() lint.LintInterface

func NewRSAKeyUsageStrict

func NewRSAKeyUsageStrict() lint.LintInterface

func NewRSAOtherKeyUsages

func NewRSAOtherKeyUsages() lint.LintInterface

func NewRegistrationSchemeIDMatchesSubjectCountry

func NewRegistrationSchemeIDMatchesSubjectCountry() lint.CertificateLintInterface

NewRegistrationSchemeIDMatchesSubjectCountry creates a new linter to enforce SHALL requirements for registration scheme identifiers matching subject:countryName

func NewSMIMEAIAInternalName

func NewSMIMEAIAInternalName() lint.LintInterface

func NewSMIMELegacyAIAHasOneHTTP

func NewSMIMELegacyAIAHasOneHTTP() lint.LintInterface

func NewSMIMEStrictAIAHasHTTPOnly

func NewSMIMEStrictAIAHasHTTPOnly() lint.LintInterface

func NewSingleEmailIfPresent

func NewSingleEmailIfPresent() lint.LintInterface

func NewSingleEmailSubjectIfPresent added in v3.6.2

func NewSingleEmailSubjectIfPresent() lint.LintInterface

func NewStrictEKUCheck

func NewStrictEKUCheck() lint.CertificateLintInterface

NewShallHaveCrlDistributionPoints creates a new linter to enforce MAY/SHALL NOT field requirements for mailbox validated SMIME certs

func NewSubDirAttr added in v3.6.2

func NewSubDirAttr() lint.LintInterface

func NewSubjectAlternativeNameNotCritical

func NewSubjectAlternativeNameNotCritical() lint.LintInterface

func NewSubjectAlternativeNameShallBePresent

func NewSubjectAlternativeNameShallBePresent() lint.LintInterface

func NewSubjectCountryName added in v3.6.2

func NewSubjectCountryName() lint.LintInterface

func NewSubscriberCrlDistributionPoints

func NewSubscriberCrlDistributionPoints() lint.LintInterface

func NewSubscriberCrlDistributionPointsHTTP added in v3.6.2

func NewSubscriberCrlDistributionPointsHTTP() lint.LintInterface

Types

type MailboxAddressFromSAN added in v3.6.2

type MailboxAddressFromSAN struct {
}

MailboxAddressFromSAN - linter to enforce MAY/SHALL NOT requirements for SMIME certificates

func (*MailboxAddressFromSAN) CheckApplies added in v3.6.2

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

CheckApplies is returns true if the certificate's policies assert that it conforms to the SMIME BRs

func (*MailboxAddressFromSAN) Execute added in v3.6.2

Execute checks all the places where Mailbox Addresses may be found in an SMIME certificate and confirms that they are present in the SAN rfc822Name or SAN otherName

type SubjectAlternativeNameNotCritical

type SubjectAlternativeNameNotCritical struct{}

func (*SubjectAlternativeNameNotCritical) CheckApplies

func (*SubjectAlternativeNameNotCritical) Execute

type SubscriberCrlDistributionPoints

type SubscriberCrlDistributionPoints struct{}

func (*SubscriberCrlDistributionPoints) CheckApplies

func (*SubscriberCrlDistributionPoints) Execute

Jump to

Keyboard shortcuts

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