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
Creates a new empty trust anchor set
fn contains(&self, other_key: &[u8]) -> bool
determines if the key is in the trust anchor set
fn insert_trust_anchor(&mut self, public_key: Vec<u8>)
inserts the trust_anchor to the trusted chain
fn get(&self, idx: usize) -> &[u8]
get the trust anchor at the specified index
Trait Implementations
impl Default for TrustAnchor
[src]
fn default() -> TrustAnchor
Returns the "default value" for a type. Read more