Struct pkcs5::pbes1::Parameters
source · pub struct Parameters {
pub salt: [u8; 8],
pub iteration_count: u16,
}
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§
source§impl Clone for Parameters
impl Clone for Parameters
source§fn clone(&self) -> Parameters
fn clone(&self) -> Parameters
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 Parameters
impl Debug for Parameters
source§impl<'a> DecodeValue<'a> for Parameters
impl<'a> DecodeValue<'a> for Parameters
source§impl EncodeValue for Parameters
impl EncodeValue for Parameters
source§impl PartialEq<Parameters> for Parameters
impl PartialEq<Parameters> for Parameters
source§fn 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 ==
.