Struct pkcs5::pbes1::Parameters
source · [−]Expand description
Password-Based Encryption Scheme 1 parameters as defined in RFC 8018 Appendix A.3.
PBEParameter ::= SEQUENCE {
salt OCTET STRING (SIZE(8)),
iterationCount INTEGER }
Fields
salt: [u8; 8]
Salt value
iteration_count: u16
Iteration count
Trait Implementations
sourceimpl Clone for Parameters
impl Clone for Parameters
sourcefn clone(&self) -> Parameters
fn clone(&self) -> Parameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Parameters
impl Debug for Parameters
sourceimpl<'a> Decode<'a> for Parameters
impl<'a> Decode<'a> for Parameters
sourceimpl PartialEq<Parameters> for Parameters
impl PartialEq<Parameters> for Parameters
sourcefn eq(&self, other: &Parameters) -> bool
fn eq(&self, other: &Parameters) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Parameters) -> bool
fn ne(&self, other: &Parameters) -> bool
This method tests for !=
.
sourceimpl Sequence<'_> for Parameters
impl Sequence<'_> for Parameters
sourceimpl TryFrom<AnyRef<'_>> for Parameters
impl TryFrom<AnyRef<'_>> for Parameters
impl Eq for Parameters
impl StructuralEq for Parameters
impl StructuralPartialEq for Parameters
Auto Trait Implementations
impl RefUnwindSafe for Parameters
impl Send for Parameters
impl Sync for Parameters
impl Unpin for Parameters
impl UnwindSafe for Parameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'a, T> Choice<'a> for T where
T: Decode<'a> + FixedTag,
impl<'a, T> Choice<'a> for T where
T: Decode<'a> + FixedTag,
sourcefn can_decode(tag: Tag) -> bool
fn can_decode(tag: Tag) -> bool
Is the provided Tag
decodable as a variant of this CHOICE
?
sourceimpl<T> Encode for T where
T: EncodeValue + Tagged,
impl<T> Encode for T where
T: EncodeValue + Tagged,
sourceimpl<'a, M> EncodeValue for M where
M: Sequence<'a>,
impl<'a, M> EncodeValue for M where
M: Sequence<'a>,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more