Struct yacme_service::authorization::Challenge
source · pub struct Challenge { /* private fields */ }
Expand description
ACME Challenge
A challenge is one way to prove to the ACME service provider that this account controls the identifier (e.g. domain name) in question.
Implementations§
source§impl Challenge
impl Challenge
sourcepub fn schema(&self) -> Guard<Arc<ChallengeSchema>>
pub fn schema(&self) -> Guard<Arc<ChallengeSchema>>
Return the inner schema object.
sourcepub fn http01(&self) -> Option<Http01Challenge>
pub fn http01(&self) -> Option<Http01Challenge>
The inner HTTP-01 challenge, if this is a HTTP-01 challenge.
sourcepub fn dns01(&self) -> Option<Dns01Challenge>
pub fn dns01(&self) -> Option<Dns01Challenge>
The inner DNS-01 challenge, if this is a DNS-01 challenge.