Struct trust_dns::rr::dnssec::TrustAnchor
[−]
[src]
pub struct TrustAnchor { /* fields omitted */ }
The root set of trust anchors for validating DNSSec, anything in this set will be trusted
Methods
impl TrustAnchor
[src]
fn new() -> TrustAnchor
[src]
Creates a new empty trust anchor set
fn contains(&self, other_key: &[u8]) -> bool
[src]
determines if the key is in the trust anchor set
fn insert_trust_anchor(&mut self, public_key: Vec<u8>)
[src]
inserts the trust_anchor to the trusted chain
fn get(&self, idx: usize) -> &[u8]
[src]
get the trust anchor at the specified index
Trait Implementations
impl Default for TrustAnchor
[src]
fn default() -> TrustAnchor
[src]
Returns the "default value" for a type. Read more