1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Parameter types
use OctetString;
use Sequence;
use AlgorithmIdentifierOwned;
/// The `PBMParameter` type is defined in [RFC 4210 Section 5.1.3.1].
///
/// ```text
/// PBMParameter ::= SEQUENCE {
/// salt OCTET STRING,
/// owf AlgorithmIdentifier{DIGEST-ALGORITHM, {...}},
/// iterationCount INTEGER,
/// mac AlgorithmIdentifier{MAC-ALGORITHM, {...}}
/// }
/// ```
///
/// [RFC 4210 Section 5.1.3.1]: https://www.rfc-editor.org/rfc/rfc4210#section-5.1.3.1
/// The `PBMParameter` type is defined in [RFC 4210 Section 5.1.3.2].
///
/// ```text
/// DHBMParameter ::= SEQUENCE {
/// owf AlgorithmIdentifier{DIGEST-ALGORITHM, {...}},
/// mac AlgorithmIdentifier{MAC-ALGORITHM, {...}}
/// }
/// ```
///
/// [RFC 4210 Section 5.1.3.2]: https://www.rfc-editor.org/rfc/rfc4210#section-5.1.3.2