#[repr(u8)]pub enum SignatureAlgorithm {
Anonymous = 0,
Rsa = 1,
Dsa = 2,
Ecdsa = 3,
Ed25519 = 7,
Ed448 = 8,
}
Available on crate feature
sct
only.Expand description
Signature algorithm as defined in RFC 5246 section 7.4.1.4.1.
Variants§
Anonymous = 0
Anonymous signature algorithm.
Rsa = 1
RSA signature algorithm.
Dsa = 2
DSA signature algorithm.
Ecdsa = 3
ECDSA signature algorithm.
Ed25519 = 7
ED25519 signature algorithm.
Ed448 = 8
ED448 signature algorithm.
Trait Implementations§
source§impl Debug for SignatureAlgorithm
impl Debug for SignatureAlgorithm
source§impl DeserializeBytes for SignatureAlgorithm
impl DeserializeBytes for SignatureAlgorithm
source§impl PartialEq for SignatureAlgorithm
impl PartialEq for SignatureAlgorithm
source§fn eq(&self, other: &SignatureAlgorithm) -> bool
fn eq(&self, other: &SignatureAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SerializeBytes for &SignatureAlgorithm
impl SerializeBytes for &SignatureAlgorithm
source§impl SerializeBytes for SignatureAlgorithm
impl SerializeBytes for SignatureAlgorithm
source§impl Size for &SignatureAlgorithm
impl Size for &SignatureAlgorithm
fn tls_serialized_len(&self) -> usize
source§impl Size for SignatureAlgorithm
impl Size for SignatureAlgorithm
fn tls_serialized_len(&self) -> usize
impl StructuralPartialEq for SignatureAlgorithm
Auto Trait Implementations§
impl RefUnwindSafe for SignatureAlgorithm
impl Send for SignatureAlgorithm
impl Sync for SignatureAlgorithm
impl Unpin for SignatureAlgorithm
impl UnwindSafe for SignatureAlgorithm
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