sslInfra

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: EPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DomainOwnershipValidationUrlPath string = "/validateOwnership"

Variables

This section is empty.

Functions

This section is empty.

Types

type SslCmdRepo

type SslCmdRepo struct {
	// contains filtered or unexported fields
}

func NewSslCmdRepo

func NewSslCmdRepo(
	persistentDbSvc *internalDbInfra.PersistentDatabaseService,
	transientDbSvc *internalDbInfra.TransientDatabaseService,
) *SslCmdRepo

func (*SslCmdRepo) Create

func (repo *SslCmdRepo) Create(
	createSslPair dto.CreateSslPair,
) (sslPairId valueObject.SslPairId, err error)

func (*SslCmdRepo) CreatePubliclyTrusted added in v0.2.1

func (repo *SslCmdRepo) CreatePubliclyTrusted(
	createDto dto.CreatePubliclyTrustedSslPair,
) error

func (*SslCmdRepo) Delete

func (repo *SslCmdRepo) Delete(sslPairId valueObject.SslPairId) error

func (*SslCmdRepo) ReplaceWithSelfSigned

func (repo *SslCmdRepo) ReplaceWithSelfSigned(vhostHostname valueObject.Fqdn) error

type SslQueryRepo

type SslQueryRepo struct{}

func (SslQueryRepo) GetOwnershipValidationHash

func (repo SslQueryRepo) GetOwnershipValidationHash(
	sslCrtContent valueObject.SslCertificateContent,
) (valueObject.Hash, error)

func (SslQueryRepo) Read

func (repo SslQueryRepo) Read() ([]entity.SslPair, error)

func (SslQueryRepo) ReadById

func (repo SslQueryRepo) ReadById(
	sslPairId valueObject.SslPairId,
) (entity.SslPair, error)

Jump to

Keyboard shortcuts

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