Struct acme_client::Challenge
[−]
[src]
pub struct Challenge<'a> { /* fields omitted */ }
A verification challenge.
Methods
impl<'a> Challenge<'a>
[src]
[src]
Saves key authorization into {path}/.well-known/acme-challenge/{token}
for http challenge.
pub fn signature(&self) -> Result<String>
[src]
Gets DNS validation signature.
This value is used for verification of domain over DNS. Signature must be saved
as a TXT record for _acme_challenge.example.com
.
pub fn ctype(&self) -> &str
[src]
Returns challenge type, usually http-01
or dns-01
for Let's Encrypt.
pub fn token(&self) -> &str
[src]
Returns challenge token
[src]
Returns key_authorization
pub fn validate(&self) -> Result<()>
[src]
Triggers validation.