Enum pkcs5::pbes1::EncryptionScheme [−][src]
Password-Based Encryption Scheme 1 algorithms as defined in RFC 8018 Appendix A.3.
Variants
pbeWithMD2AndDES-CBC
pbeWithMD2AndRC2-CBC
pbeWithMD5AndDES-CBC
pbeWithMD5AndRC2-CBC
pbeWithSHA1AndDES-CBC
pbeWithSHA1AndRC2-CBC
Implementations
impl EncryptionScheme
[src]
pub fn cipher(self) -> SymmetricCipher
[src]
Get the SymmetricCipher
to be used.
pub fn digest(self) -> DigestAlgorithm
[src]
Get the DigestAlgorithm
to be used.
pub fn oid(self) -> ObjectIdentifier
[src]
Get the ObjectIdentifier
(a.k.a OID) for this algorithm.
Trait Implementations
impl Clone for EncryptionScheme
[src]
fn clone(&self) -> EncryptionScheme
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for EncryptionScheme
[src]
impl Debug for EncryptionScheme
[src]
impl Encodable for EncryptionScheme
[src]
fn encoded_len(&self) -> Result<Length>
[src]
fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>
[src]
pub fn encode_to_slice(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
[src]
impl Eq for EncryptionScheme
[src]
impl PartialEq<EncryptionScheme> for EncryptionScheme
[src]
fn eq(&self, other: &EncryptionScheme) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for EncryptionScheme
[src]
impl StructuralPartialEq for EncryptionScheme
[src]
impl TryFrom<ObjectIdentifier> for EncryptionScheme
[src]
Auto Trait Implementations
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<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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>,