pub enum Algorithm {
Show 19 variants
Delete,
RsaMd5,
Dh,
Dsa,
Ecc,
RsaSha1,
DsaNsec3Sha1,
RsaSha1Nsec3Sha1,
RsaSha256,
RsaSha512,
EccGost,
EcdsaP256Sha256,
EcdsaP384Sha384,
Ed25519,
Ed448,
Indirect,
PrivateDns,
PrivateOid,
Other(u8),
}Expand description
Algorithm identifies the public key’s cryptographic algorithm https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml#dns-sec-alg-numbers-1
Variants§
Delete
RsaMd5
RSA/MD5
Dh
Diffie-Hellman
Dsa
DSA/SHA-1
Ecc
Elliptic Curve
RsaSha1
RSA/SHA-1
DsaNsec3Sha1
DSA-NSEC3-SHA1
RsaSha1Nsec3Sha1
RSASHA1-NSEC3-SHA1
RsaSha256
RSA/SHA-256
RsaSha512
RSA/SHA-512
EccGost
GOST R 34.10-2001
EcdsaP256Sha256
ECDSA Curve P-256 with SHA-256
EcdsaP384Sha384
ECDSA Curve P-384 with SHA-384
Ed25519
Ed25519
Ed448
Ed448
Indirect
Indirect
PrivateDns
Private
PrivateOid
Private
Other(u8)
Trait Implementations§
impl Copy for Algorithm
Auto Trait Implementations§
impl Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more