pub struct SslSignatureAlgorithm(/* private fields */);
Expand description
A signature verification algorithm.
WARNING: The current implementation of From
is unsound, as it’s possible to create an
SslSignatureAlgorithm that is not defined by the impl. From
will be deprecated in favor of
TryFrom
in the next major bump of the library.
Implementations§
Source§impl SslSignatureAlgorithm
impl SslSignatureAlgorithm
pub const RSA_PKCS1_SHA1: SslSignatureAlgorithm = _
pub const RSA_PKCS1_SHA256: SslSignatureAlgorithm = _
pub const RSA_PKCS1_SHA384: SslSignatureAlgorithm = _
pub const RSA_PKCS1_SHA512: SslSignatureAlgorithm = _
pub const RSA_PKCS1_MD5_SHA1: SslSignatureAlgorithm = _
pub const ECDSA_SHA1: SslSignatureAlgorithm = _
pub const ECDSA_SECP256R1_SHA256: SslSignatureAlgorithm = _
pub const ECDSA_SECP384R1_SHA384: SslSignatureAlgorithm = _
pub const ECDSA_SECP521R1_SHA512: SslSignatureAlgorithm = _
pub const RSA_PSS_RSAE_SHA256: SslSignatureAlgorithm = _
pub const RSA_PSS_RSAE_SHA384: SslSignatureAlgorithm = _
pub const RSA_PSS_RSAE_SHA512: SslSignatureAlgorithm = _
pub const ED25519: SslSignatureAlgorithm = _
Trait Implementations§
Source§impl Clone for SslSignatureAlgorithm
impl Clone for SslSignatureAlgorithm
Source§fn clone(&self) -> SslSignatureAlgorithm
fn clone(&self) -> SslSignatureAlgorithm
Returns a copy of the value. Read more
1.0.0 · 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 SslSignatureAlgorithm
impl Debug for SslSignatureAlgorithm
Source§impl From<u16> for SslSignatureAlgorithm
impl From<u16> for SslSignatureAlgorithm
Source§fn from(value: u16) -> SslSignatureAlgorithm
fn from(value: u16) -> SslSignatureAlgorithm
Converts to this type from the input type.
Source§impl PartialEq for SslSignatureAlgorithm
impl PartialEq for SslSignatureAlgorithm
impl Copy for SslSignatureAlgorithm
impl Eq for SslSignatureAlgorithm
impl StructuralPartialEq for SslSignatureAlgorithm
Auto Trait Implementations§
impl Freeze for SslSignatureAlgorithm
impl RefUnwindSafe for SslSignatureAlgorithm
impl Send for SslSignatureAlgorithm
impl Sync for SslSignatureAlgorithm
impl Unpin for SslSignatureAlgorithm
impl UnwindSafe for SslSignatureAlgorithm
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)