sslInfra

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: EPL-2.0 Imports: 16 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(
	createDto dto.CreateSslPair,
) (sslPairId valueObject.SslPairId, err error)

func (*SslCmdRepo) CreatePubliclyTrusted added in v0.2.1

func (repo *SslCmdRepo) CreatePubliclyTrusted(
	createDto dto.CreatePubliclyTrustedSslPair,
) (sslPairId valueObject.SslPairId, err 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 NewSslQueryRepo added in v0.2.2

func NewSslQueryRepo() *SslQueryRepo

func (SslQueryRepo) GetOwnershipValidationHash

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

func (*SslQueryRepo) Read

func (repo *SslQueryRepo) Read(
	requestDto dto.ReadSslPairsRequest,
) (responseDto dto.ReadSslPairsResponse, err error)

func (*SslQueryRepo) ReadFirst added in v0.2.2

func (repo *SslQueryRepo) ReadFirst(
	requestDto dto.ReadSslPairsRequest,
) (sslPairEntity entity.SslPair, err error)

Jump to

Keyboard shortcuts

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