acme_client_auth.c
Go to the documentation of this file.
70 TRACE_DEBUG("###############################################################################\r\n");
71 TRACE_DEBUG("## GET AUTHORIZATION ##########################################################\r\n");
72 TRACE_DEBUG("###############################################################################\r\n");
AcmeChallengeType acmeClientParseChallengeType(const char_t *label)
Parse challenge type field.
Definition: acme_client_challenge.c:252
Helper functions for ACME client.
AcmeChallengeType acmeClientGetChallengeType(AcmeClientContext *context, const char_t *identifier, bool_t wildcard)
Retrieve the challenge type used for a given domain name.
Definition: acme_client_challenge.c:291
JOSE (JSON Object Signing and Encryption)
Challenge object management.
error_t acmeClientSendRequest(AcmeClientContext *context)
Send HTTP request.
Definition: acme_client_misc.c:344
AcmeChallengeStatus acmeClientParseChallengeStatus(const char_t *label)
Parse challenge status field.
Definition: acme_client_challenge.c:209
Authorization object management.
error_t acmeClientFormatRequestHeader(AcmeClientContext *context, const char_t *method, const char_t *url)
Format HTTP request header.
Definition: acme_client_misc.c:543
error_t acmeClientFormatJwsProtectedHeader(const AcmeKeyPair *keyPair, const char_t *kid, const char_t *nonce, const char_t *url, char_t *buffer, size_t *written)
Format JWS protected header.
Definition: acme_client_misc.c:659
AcmeAuthStatus acmeClientParseAuthorizationStatus(const char_t *label)
Parse authorization status field.
Definition: acme_client_auth.c:424
error_t acmeClientDigestKeyAuthorization(AcmeClientContext *context, AcmeChallenge *challenge)
Digest the key authorization (for DNS challenge only)
Definition: acme_client_challenge.c:392
error_t acmeClientGenerateKeyAuthorization(AcmeClientContext *context, AcmeChallenge *challenge)
Generate key authorization.
Definition: acme_client_challenge.c:340
error_t acmeClientGenerateTlsAlpnCert(AcmeClientContext *context, AcmeChallenge *challenge)
Generate a self-signed certificate (TLS-ALPN challenge only)
Definition: acme_client_challenge.c:426
error_t acmeClientSendAuthorizationRequest(AcmeClientContext *context, AcmeAuthorization *authorization)
Send HTTP request (authorization URL)
Definition: acme_client_auth.c:54
error_t acmeFormatAuthorizationRequest(AcmeClientContext *context, const AcmeAuthorization *authorization)
Format HTTP request body (authorization URL)
Definition: acme_client_auth.c:144
error_t jwsCreate(const PrngAlgo *prngAlgo, void *prngContext, const char_t *protected, const char_t *payload, const char_t *alg, const char_t *crv, const void *privateKey, char_t *buffer, size_t *written)
Create a JSON Web Signature.
Definition: acme_client_jose.c:442
error_t acmeClientParseAuthorizationResponse(AcmeClientContext *context, AcmeAuthorization *authorization)
Parse HTTP response (authorization URL)
Definition: acme_client_auth.c:183
ACME client (Automatic Certificate Management Environment)
Debugging facilities.