Enum cryptographic_message_syntax::CertificateKeyAlgorithm [−][src]
An algorithm used to digitally sign content.
Instances can be converted to/from the underlying ASN.1 type and OIDs.
Variants
RSA
Corresponds to OID 1.2.840.113549.1.1.1.
Corresponds to OID 1.2.840.10045.2.1
Corresponds to OID 1.3.101.110
Implementations
impl CertificateKeyAlgorithm
[src]
pub fn default_signature_algorithm_oid(&self) -> Oid
[src]
Obtain the OID of the default signature algorithm this key algorithm uses.
pub fn default_signature_algorithm_identifier(&self) -> AlgorithmIdentifier
[src]
Obtain the default AlgorithmIdentifier that this key uses.
Trait Implementations
impl Clone for CertificateKeyAlgorithm
[src]
fn clone(&self) -> CertificateKeyAlgorithm
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CertificateKeyAlgorithm
[src]
impl Debug for CertificateKeyAlgorithm
[src]
impl Eq for CertificateKeyAlgorithm
[src]
impl PartialEq<CertificateKeyAlgorithm> for CertificateKeyAlgorithm
[src]
fn eq(&self, other: &CertificateKeyAlgorithm) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for CertificateKeyAlgorithm
[src]
impl StructuralPartialEq for CertificateKeyAlgorithm
[src]
impl TryFrom<&'_ AlgorithmIdentifier> for CertificateKeyAlgorithm
[src]
type Error = CmsError
The type returned in the event of a conversion error.
fn try_from(v: &AlgorithmIdentifier) -> Result<Self, Self::Error>
[src]
impl TryFrom<&'_ Oid<Bytes>> for CertificateKeyAlgorithm
[src]
Auto Trait Implementations
impl RefUnwindSafe for CertificateKeyAlgorithm
impl Send for CertificateKeyAlgorithm
impl Sync for CertificateKeyAlgorithm
impl Unpin for CertificateKeyAlgorithm
impl UnwindSafe for CertificateKeyAlgorithm
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,