core

package
v0.0.0-...-eff5e3f Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	acme.Account
	Key *jose.JSONWebKey `json:"key"`
	ID  string           `json:"-"`
}

type Authorization

type Authorization struct {
	sync.RWMutex
	acme.Authorization
	ID          string
	URL         string
	ExpiresDate time.Time
	Order       *Order
	Challenges  []*Challenge
}

type Certificate

type Certificate struct {
	ID        string
	Cert      *x509.Certificate
	DER       []byte
	Issuers   []*Certificate
	AccountID string
}

func (Certificate) Chain

func (c Certificate) Chain(no int) []byte

func (Certificate) PEM

func (c Certificate) PEM() []byte

type Challenge

type Challenge struct {
	sync.RWMutex
	acme.Challenge
	ID            string
	Authz         *Authorization
	ValidatedDate time.Time
}

func (*Challenge) ExpectedKeyAuthorization

func (ch *Challenge) ExpectedKeyAuthorization(key *jose.JSONWebKey) string

type Order

type Order struct {
	sync.RWMutex
	acme.Order
	ID                   string
	AccountID            string
	Names                []string
	ParsedCSR            *x509.CertificateRequest
	ExpiresDate          time.Time
	AuthorizationObjects []*Authorization
	BeganProcessing      bool
	CertificateObject    *Certificate
}

func (*Order) GetStatus

func (o *Order) GetStatus() (string, error)

type RevokedCertificate

type RevokedCertificate struct {
	Certificate *Certificate
	RevokedAt   time.Time
	Reason      *uint
}

RevokedCertificate is a certificate together with information about its revocation.

type ValidationRecord

type ValidationRecord struct {
	URL         string
	Error       *acme.ProblemDetails
	ValidatedAt time.Time
}

Jump to

Keyboard shortcuts

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