pub enum Sign {
RsaSsaPss(RsaSsaPss),
}
Variants§
Implementations§
source§impl Sign
impl Sign
pub const RSA_PSS_2048_SHA_256: Sign = _
pub const RSA_PSS_3072_SHA_256: Sign = _
Trait Implementations§
source§impl<'de> Deserialize<'de> for Sign
impl<'de> Deserialize<'de> for Sign
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Sign> for Sign
impl PartialEq<Sign> for Sign
source§impl Scheme for Sign
impl Scheme for Sign
type Kind = Sign
fn as_enum(self) -> SchemeKind
fn hash_kind(&self) -> HashKind
fn padding(&self) -> Option<OpensslPadding>
fn public_from_der(self, der: &[u8]) -> Result<PKey<Public>>
fn private_from_der(self, der: &[u8]) -> Result<PKey<Private>>
fn generate(self) -> Result<AsymKeyPair<Self::Kind>>
fn key_len(self) -> BitLen
fn message_digest(&self) -> MessageDigest
impl Copy for Sign
impl Eq for Sign
impl StructuralEq for Sign
impl StructuralPartialEq for Sign
Auto Trait Implementations§
impl RefUnwindSafe for Sign
impl Send for Sign
impl Sync for Sign
impl Unpin for Sign
impl UnwindSafe for Sign
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