Enum saml_rs::sign::SigningAlgorithm
source · [−]pub enum SigningAlgorithm {
Sha1,
Sha224,
Sha256,
Sha384,
Sha512,
InvalidAlgorithm,
}Expand description
Options of Signing Algorithms for things
Variants
Sha1
SHA1 Algorithm
Sha224
Really?
Sha256
SHA256 Algorithm
Sha384
For when 256 isn’t enough
Sha512
Size does matter, I guess?
InvalidAlgorithm
If you try to use the wrong one
Trait Implementations
sourceimpl Clone for SigningAlgorithm
impl Clone for SigningAlgorithm
sourcefn clone(&self) -> SigningAlgorithm
fn clone(&self) -> SigningAlgorithm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SigningAlgorithm
impl Debug for SigningAlgorithm
sourceimpl Display for SigningAlgorithm
impl Display for SigningAlgorithm
sourceimpl From<SigningAlgorithm> for MessageDigest
impl From<SigningAlgorithm> for MessageDigest
sourcefn from(src: SigningAlgorithm) -> MessageDigest
fn from(src: SigningAlgorithm) -> MessageDigest
Converts to this type from the input type.
sourceimpl From<SigningAlgorithm> for String
impl From<SigningAlgorithm> for String
sourcefn from(sa: SigningAlgorithm) -> String
fn from(sa: SigningAlgorithm) -> String
Converts to this type from the input type.
sourceimpl From<String> for SigningAlgorithm
impl From<String> for SigningAlgorithm
impl Copy for SigningAlgorithm
Auto Trait Implementations
impl RefUnwindSafe for SigningAlgorithm
impl Send for SigningAlgorithm
impl Sync for SigningAlgorithm
impl Unpin for SigningAlgorithm
impl UnwindSafe for SigningAlgorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more