pub struct OcspHandler { /* private fields */ }
Expand description
OCSP handler for managing OCSP configuration
Implementations§
Source§impl OcspHandler
impl OcspHandler
pub fn new(client: RestClient) -> Self
Sourcepub async fn get_config(&self) -> Result<OcspConfig>
pub async fn get_config(&self) -> Result<OcspConfig>
Get OCSP configuration
Sourcepub async fn update_config(&self, config: OcspConfig) -> Result<OcspConfig>
pub async fn update_config(&self, config: OcspConfig) -> Result<OcspConfig>
Update OCSP configuration
Sourcepub async fn get_status(&self) -> Result<OcspStatus>
pub async fn get_status(&self) -> Result<OcspStatus>
Get OCSP status
Sourcepub async fn test(&self) -> Result<OcspTestResult>
pub async fn test(&self) -> Result<OcspTestResult>
Test OCSP connectivity
Sourcepub async fn test_post(&self) -> Result<OcspTestResult>
pub async fn test_post(&self) -> Result<OcspTestResult>
Test OCSP via POST
Sourcepub async fn clear_cache(&self) -> Result<()>
pub async fn clear_cache(&self) -> Result<()>
Clear OCSP cache
Auto Trait Implementations§
impl Freeze for OcspHandler
impl !RefUnwindSafe for OcspHandler
impl Send for OcspHandler
impl Sync for OcspHandler
impl Unpin for OcspHandler
impl !UnwindSafe for OcspHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more