#[non_exhaustive]pub enum ProofErrorKind {
Show 19 variants
Message(&'static str),
Msg(String),
AlgorithmMismatch {
rrsig: Algorithm,
dnskey: Algorithm,
},
DnsSecError(DnsSecError),
DnsKeyVerifyRrsig {
name: Name,
key_tag: u16,
error: ProtoError,
},
DnskeyNotFound {
name: Name,
},
DnsKeyRevoked {
name: Name,
key_tag: u16,
},
DsHasNoDnssecProof {
name: Name,
},
DsRecordsButNoDnskey {
name: Name,
},
DsRecordShouldExist {
name: Name,
},
DsResponseEmpty {
name: Name,
},
DsResponseNsec {
name: Name,
},
NotZoneDnsKey {
name: Name,
key_tag: u16,
},
Proto {
query: Query,
proto: ProtoError,
},
RrsigsNotPresent {
name: Name,
record_type: RecordType,
},
RrsigsUnverified {
name: Name,
record_type: RecordType,
},
SelfSignedKeyInvalid {
name: Name,
},
UnknownKeyAlgorithm,
UnsupportedKeyAlgorithm,
}
dnssec
only.Expand description
The error kind for dnssec errors that get returned in the crate
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Message(&'static str)
An error with an arbitrary message, referenced as &’static str
Msg(String)
An error with an arbitrary message, stored as String
AlgorithmMismatch
Algorithm mismatch between rrsig and dnskey
Fields
DnsSecError(DnsSecError)
A DNSSEC validation error, occured
DnsKeyVerifyRrsig
A DnsKey verification of rrset and rrsig failed
Fields
error: ProtoError
The Error that occurred during validation
DnskeyNotFound
There was no DNSKEY found for verifying the DNSSEC of the zone
DnsKeyRevoked
A DnsKey was revoked and could not be used for validation
Fields
DsHasNoDnssecProof
No DNSSEC records returned with for the DS record
DsRecordsButNoDnskey
DS record exists but not a DNSKEY that matches
DsRecordShouldExist
DS record parent exists, but child does not
DsResponseEmpty
The DS response was empty
DsResponseNsec
DS record does not exist, and this was proven with an NSEC
NotZoneDnsKey
The DnsKey is not marked as a zone key
Proto
There was a protocol error when looking up DNSSEC records
RrsigsNotPresent
The RRSIGs for the rrset are not present. It’s indeterminate if DS records can’t be found It’s bogus if the DS records are present
Fields
record_type: RecordType
The record type in question
RrsigsUnverified
The RRSIGs could not be verified or failed validation
SelfSignedKeyInvalid
The self-signed dnskey is invalid
UnknownKeyAlgorithm
Unknown or reserved key algorithm
UnsupportedKeyAlgorithm
Unsupported key algorithms
Trait Implementations§
Source§impl Clone for ProofErrorKind
impl Clone for ProofErrorKind
Source§fn clone(&self) -> ProofErrorKind
fn clone(&self) -> ProofErrorKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more