[−][src]Enum domain::base::iana::secalg::SecAlg
Security Algorithm Numbers.
These numbers are used in various security related record types.
For the currently registered values see the IANA registration.
Variants
Delete DS
This algorithm is used in RFC 8087 to signal to the parent that a certain DS record should be deleted. It is not an actual algorithm and can neither be used in zone nor transaction signing.
RSA/MD5
This algorithm was described in RFC 2537 and since has been deprecated due to weaknesses of the MD5 hash algorithm by RFC 3110 which suggests to use RSA/SHA1 instead.
This algorithm may not be used for zone signing but may be used for transaction security.
Diffie-Hellman
This algorithm is described in RFC 2539 for storing Diffie-Hellman (DH) keys in DNS resource records. It can not be used for zone signing but only for transaction security.
DSA/SHA1
This algorithm is described in RFC 2536. It may be used both for zone signing and transaction security.
RSA/SHA-1
This algorithm is described in RFC 3110. It may be used both for zone signing and transaction security. It is mandatory for DNSSEC implementations.
DSA-NSEC3-SHA1
This value is an alias for Dsa
for use within NSEC3 records.
RSASHA1-NSEC3-SHA1
This value is an alias for RsaSha1
for use within NSEC3 records.
RSA/SHA-256
This algorithm is described in RFC 5702. It may be used for zone signing only.
RSA/SHA-512
This algorithm is described in RFC 5702. It may be used for zone signing only.
GOST R 34.10-2001
This algorithm is described in RFC 5933. It may be used for zone signing only.
ECDSA Curve P-256 with SHA-256
This algorithm is described in RFC 6605. It may be used for zone signing only.
ECDSA Curve P-384 with SHA-384
This algorithm is described in RFC 6605. It may be used for zone signing only.
ED25519
This algorithm is described in RFC 8080.
ED448
This algorithm is described in RFC 8080.
Reserved for Indirect Keys
This value is reserved by RFC 4034.
A private algorithm identified by a domain name.
This value is defined in RFC 4034.
A private algorithm identified by a ISO OID.
This value is defined in RFC 4034.
Int(u8)
A raw value given through its integer.
Implementations
impl SecAlg
[src]
pub fn from_int(value: u8) -> Self
[src]
Returns a value from its raw integer value.
pub fn to_int(self) -> u8
[src]
Returns the raw integer value for a value.
pub fn from_mnemonic(m: &[u8]) -> Option<Self>
[src]
Returns a value from a well-defined mnemonic.
pub fn to_mnemonic(self) -> Option<&'static [u8]>
[src]
Returns the mnemonic for this value if there is one.
This will also return a mnemonic if a well-defined variant
is hidden in a Int
variant.
impl SecAlg
[src]
Trait Implementations
impl Clone for SecAlg
[src]
impl Compose for SecAlg
[src]
fn compose<T: OctetsBuilder>(&self, target: &mut T) -> Result<(), ShortBuf>
[src]
fn compose_canonical<T: OctetsBuilder>(
&self,
target: &mut T
) -> Result<(), ShortBuf>
[src]
&self,
target: &mut T
) -> Result<(), ShortBuf>
impl Copy for SecAlg
[src]
impl Debug for SecAlg
[src]
impl Display for SecAlg
[src]
impl Eq for SecAlg
[src]
impl<'a> From<&'a SecAlg> for u8
[src]
impl From<SecAlg> for u8
[src]
impl From<u8> for SecAlg
[src]
impl FromStr for SecAlg
[src]
type Err = FromStrError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Hash for SecAlg
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SecAlg
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<Ref: AsRef<[u8]>> Parse<Ref> for SecAlg
[src]
fn parse(parser: &mut Parser<Ref>) -> Result<Self, ParseError>
[src]
fn skip(parser: &mut Parser<Ref>) -> Result<(), ParseError>
[src]
impl PartialEq<SecAlg> for SecAlg
[src]
impl PartialEq<SecAlg> for u8
[src]
impl PartialEq<u8> for SecAlg
[src]
impl PartialOrd<SecAlg> for SecAlg
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<SecAlg> for u8
[src]
fn partial_cmp(&self, other: &SecAlg) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<u8> for SecAlg
[src]
Auto Trait Implementations
impl RefUnwindSafe for SecAlg
impl Send for SecAlg
impl Sync for SecAlg
impl Unpin for SecAlg
impl UnwindSafe for SecAlg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,