pub enum RsaHash {
Sha1,
Sha256,
Sha384,
Sha512,
}Expand description
Hash function bound into an RSA signature verification suite.
Variants§
Sha1
SHA-1 for historical X.509/eMRTD document verification only.
Sha256
SHA-256.
Sha384
SHA-384.
Sha512
SHA-512.
Implementations§
Trait Implementations§
impl Copy for RsaHash
impl Eq for RsaHash
impl StructuralPartialEq for RsaHash
Auto Trait Implementations§
impl Freeze for RsaHash
impl RefUnwindSafe for RsaHash
impl Send for RsaHash
impl Sync for RsaHash
impl Unpin for RsaHash
impl UnsafeUnpin for RsaHash
impl UnwindSafe for RsaHash
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