Enum domain::iana::secalg::SecAlg[][src]

pub enum SecAlg {
    RsaMd5,
    Dh,
    Dsa,
    RsaSha1,
    DsaNsec3Sha1,
    RsaSha1Nsec3Sha1,
    RsaSha256,
    RsaSha512,
    EccGost,
    EcdsaP256Sha256,
    EcdsaP384Sha384,
    Indirect,
    PrivateDns,
    PrivateOid,
    Int(u8),
}

See http://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml#dns-sec-alg-numbers-1

Variants

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.

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.

A raw algorithm value given through its integer value.

Methods

impl SecAlg
[src]

Returns the algorithm value for the given integer value.

Returns the integer value for this algorithm value.

Trait Implementations

impl Clone for SecAlg
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SecAlg
[src]

impl Debug for SecAlg
[src]

Formats the value using the given formatter. Read more

impl From<u8> for SecAlg
[src]

Performs the conversion.

impl From<SecAlg> for u8
[src]

Performs the conversion.

impl FromStr for SecAlg
[src]

The associated error which can be returned from parsing.

Returns the algorithm value for the given string.

Recognized are the mnemonics equivalent to the algorithm number not regarding case as well as decimal integer numbers.

impl Display for SecAlg
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SecAlg
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialEq<u8> for SecAlg
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialEq<SecAlg> for u8
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SecAlg
[src]

impl PartialOrd for SecAlg
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialOrd<u8> for SecAlg
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialOrd<SecAlg> for u8
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for SecAlg
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Hash for SecAlg
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for SecAlg

impl Sync for SecAlg