Trait trust_dns_server::authority::DnssecAuthority
source · [−]pub trait DnssecAuthority: Authority {
fn add_update_auth_key<'life0, 'async_trait>(
&'life0 self,
name: Name,
key: KEY
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn add_zone_signing_key<'life0, 'async_trait>(
&'life0 self,
signer: SigSigner
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn secure_zone<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
This is supported on crate feature
dnssec
only.Expand description
Extension to Authority to allow for DNSSEC features
Required methods
fn add_update_auth_key<'life0, 'async_trait>(
&'life0 self,
name: Name,
key: KEY
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_update_auth_key<'life0, 'async_trait>(
&'life0 self,
name: Name,
key: KEY
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add a (Sig0) key that is authorized to perform updates against this authority
fn add_zone_signing_key<'life0, 'async_trait>(
&'life0 self,
signer: SigSigner
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_zone_signing_key<'life0, 'async_trait>(
&'life0 self,
signer: SigSigner
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add Signer
fn secure_zone<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn secure_zone<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = DnsSecResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Sign the zone for DNSSEC
Implementors
impl DnssecAuthority for FileAuthority
impl DnssecAuthority for InMemoryAuthority
impl DnssecAuthority for SqliteAuthority
This is supported on crate feature
sqlite
only.