Skip to main content

DnssecZoneHandler

Trait DnssecZoneHandler 

Source
pub trait DnssecZoneHandler: ZoneHandler {
    // Required methods
    fn add_zone_signing_key<'life0, 'async_trait>(
        &'life0 self,
        signer: DnssecSigner,
    ) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn secure_zone<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Extension to ZoneHandler to allow for DNSSEC features

Required Methods§

Source

fn add_zone_signing_key<'life0, 'async_trait>( &'life0 self, signer: DnssecSigner, ) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Add Signer

Source

fn secure_zone<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Sign the zone for DNSSEC

Implementors§