pub enum SignatureAlgorithm {
RsaSha256,
RsaSha384,
RsaSha512,
Custom(String),
}Expand description
XML signature algorithm used for outgoing signed messages.
Custom URI values are forwarded to the configured crypto backend and can still fail at runtime when unsupported by that backend.
Variants§
RsaSha256
RSA with SHA-256.
RsaSha384
RSA with SHA-384.
RsaSha512
RSA with SHA-512.
Custom(String)
Backend-specific signature algorithm URI.
Implementations§
Trait Implementations§
Source§impl Clone for SignatureAlgorithm
impl Clone for SignatureAlgorithm
Source§fn clone(&self) -> SignatureAlgorithm
fn clone(&self) -> SignatureAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignatureAlgorithm
impl Debug for SignatureAlgorithm
Source§impl Default for SignatureAlgorithm
impl Default for SignatureAlgorithm
Source§fn default() -> SignatureAlgorithm
fn default() -> SignatureAlgorithm
Returns the “default value” for a type. Read more
impl Eq for SignatureAlgorithm
Source§impl PartialEq for SignatureAlgorithm
impl PartialEq for SignatureAlgorithm
impl StructuralPartialEq for SignatureAlgorithm
Auto Trait Implementations§
impl Freeze for SignatureAlgorithm
impl RefUnwindSafe for SignatureAlgorithm
impl Send for SignatureAlgorithm
impl Sync for SignatureAlgorithm
impl Unpin for SignatureAlgorithm
impl UnsafeUnpin 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