pub enum DigestAlgorithm {
Sha1,
Sha256,
Sha384,
Sha512,
}
Expand description
Digest algorithms that can be used in tls-server-end-point channel bindings.
This type is only useful in the context of defining a custom digest impelementation, and otherwise can be ignored.
Variants§
Sha1
The provided certificate requests Sha1 hasing. as per https://datatracker.ietf.org/doc/html/rfc5929#section-4.1 sha256 hashing should be used instead
Sha256
The provided certificate requests Sha256 hasing
Sha384
The provided certificate requests sha284 hashing
Sha512
The provided certificate requests Sha512 hashing
Auto Trait Implementations§
impl Freeze for DigestAlgorithm
impl RefUnwindSafe for DigestAlgorithm
impl Send for DigestAlgorithm
impl Sync for DigestAlgorithm
impl Unpin for DigestAlgorithm
impl UnwindSafe for DigestAlgorithm
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