acme

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

README

ACME

Discord

A helper ACME Client designed for use within Loophole Labs projects

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/loopholelabs/acme. For more contribution information check out the contribution guide.

License

The ACME project is available as open source under the terms of the Apache License, Version 2.0.

Code of Conduct

Everyone interacting in the ACME project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the CNCF Code of Conduct.

Project Managed By:

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDisabled = errors.New("acme is disabled")
)

Functions

This section is empty.

Types

type ACME

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

ACME is a wrapper for the acme client

func New

func New(options *Options, logger *zerolog.Logger) (*ACME, error)

func (*ACME) Certificate

func (e *ACME) Certificate() *certificate.Certifier

func (*ACME) Challenge

func (e *ACME) Challenge() *resolver.SolverManager

type Options

type Options struct {
	LogName   string
	Disabled  bool
	Email     string
	Directory string
	KID       string
	HMAC      string
}

type User

type User struct {
	Email        string
	Registration *registration.Resource
	Key          crypto.PrivateKey
}

func (*User) GetEmail

func (u *User) GetEmail() string

func (*User) GetPrivateKey

func (u *User) GetPrivateKey() crypto.PrivateKey

func (*User) GetRegistration

func (u *User) GetRegistration() *registration.Resource

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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