libp2p/autotls/acme/api

Search:
Group by:
Source   Edit  

Types

ACMEApi = ref object of RootObj
  acmeServerURL*: Uri
Source   Edit  
ACMEAuthorizationsResponse = object
  challenges*: seq[ACMEChallenge]
Source   Edit  
ACMECertificate = object
  rawCertificate*: string
  certificateExpiry*: DateTime
  certKeyPair*: KeyPair
Source   Edit  
ACMECertificateResponse = object
  rawCertificate*: string
  certificateExpiry*: DateTime
Source   Edit  
ACMEChallenge = object
  url*: string
  status*: ACMEChallengeStatus
  token*: ACMEChallengeToken
Source   Edit  
ACMEChallengeResponse = object
  status*: ACMEOrderStatus
  authorizations*: seq[Authorization]
  finalize*: string
  order*: string
Source   Edit  
ACMEChallengeResponseWrapper = object
  finalize*: string
  order*: string
  dns01*: ACMEChallenge
Source   Edit  
ACMEChallengeStatus {.pure.} = enum
  PENDING = "pending", PROCESSING = "processing", VALID = "valid",
  INVALID = "invalid"
Source   Edit  
ACMEChallengeToken = string
Source   Edit  
ACMEChallengeType {.pure.} = enum
  DNS01 = "dns-01", HTTP01 = "http-01", TLSALPN01 = "tls-alpn-01"
Source   Edit  
ACMECheckKind = enum
  ACMEOrderCheck, ACMEChallengeCheck
Source   Edit  
ACMECheckResponse = object
  case
  of ACMEOrderCheck:
  of ACMEChallengeCheck:
Source   Edit  
ACMECompletedResponse = object
Source   Edit  
ACMEDirectory = object
  newNonce*: string
  newOrder*: string
  newAccount*: string
Source   Edit  
ACMEFinalizeResponse = object
Source   Edit  
ACMEOrderResponse = object
Source   Edit  
ACMEOrderStatus {.pure.} = enum
  PENDING = "pending", READY = "ready", PROCESSING = "processing",
  VALID = "valid", INVALID = "invalid"
Source   Edit  
ACMERegisterRequest = object
Source   Edit  
ACMERegisterResponse = object
  kid*: Kid
  status*: ACMEAccountStatus
Source   Edit  
Authorization = string
Source   Edit  
Domain = string
Source   Edit  
HTTPResponse = object
  body*: JsonNode
  headers*: HttpTable
Source   Edit  
Kid = string
Source   Edit  
Nonce = string
Source   Edit  

Consts

LetsEncryptURL = "https://acme-v02.api.letsencrypt.org"
Source   Edit  
LetsEncryptURLStaging = "https://acme-staging-v02.api.letsencrypt.org"
Source   Edit