package
2.0.0+incompatible
Repository: https://github.com/dimensiondev/crypto.git
Documentation: pkg.go.dev
# Packages
Package autocert provides automatic access to certificates from Let's Encrypt and any other ACME-based CA.
# Functions
AcceptTOS always returns true to indicate the acceptance of a CA's Terms of Service during account registration.
JWKThumbprint creates a JWK thumbprint out of pub as specified in https://tools.ietf.org/html/rfc7638.
RateLimit reports whether err represents a rate limit error and any Retry-After duration returned by the server.
WithKey creates an option holding a private/public key pair.
WithTemplate creates an option for specifying a certificate template.
# Constants
CRL reason codes as defined in RFC 5280.
CRL reason codes as defined in RFC 5280.
CRL reason codes as defined in RFC 5280.
CRL reason codes as defined in RFC 5280.
CRL reason codes as defined in RFC 5280.
CRL reason codes as defined in RFC 5280.
CRL reason codes as defined in RFC 5280.
CRL reason codes as defined in RFC 5280.
CRL reason codes as defined in RFC 5280.
CRL reason codes as defined in RFC 5280.
LetsEncryptURL is the Directory endpoint of Let's Encrypt CA.
ACME server response statuses used to describe Authorization and Challenge states.
ACME server response statuses used to describe Authorization and Challenge states.
ACME server response statuses used to describe Authorization and Challenge states.
ACME server response statuses used to describe Authorization and Challenge states.
ACME server response statuses used to describe Authorization and Challenge states.
ACME server response statuses used to describe Authorization and Challenge states.
# Variables
ErrUnsupportedKey is returned when an unsupported key type is encountered.
# Structs
Account is a user account.
Authorization encodes an authorization response.
AuthorizationError indicates that an authorization for an identifier did not succeed.
AuthzID is an identifier that an account is authorized to represent.
Challenge encodes a returned CA challenge.
Client is an ACME client.
Directory is ACME server discovery data.
Error is an ACME error, defined in Problem Details for HTTP APIs doc http://tools.ietf.org/html/draft-ietf-appsawg-http-problem.
# Interfaces
CertOption is an optional argument type for the TLSSNIxChallengeCert methods for customizing a temporary certificate for TLS-SNI challenges.
# Type aliases
CRLReasonCode identifies the reason for a certificate revocation.