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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//! Response-related types
use Vec;
use ;
use Sequence;
use crate::;
/// The `CertRepMessage` type is defined in [RFC 4210 Section 5.3.4].
///
/// ```text
/// CertRepMessage ::= SEQUENCE {
/// caPubs [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
/// OPTIONAL,
/// response SEQUENCE OF CertResponse }
/// ```
///
/// [RFC 4210 Section 5.3.4]: https://www.rfc-editor.org/rfc/rfc4210#section-5.3.4
/// CertResponses corresponds to the type that is inlined in the CertRepMessage definition for the response
/// field, as shown below:
/// ```text
/// response SEQUENCE OF CertResponse
/// ```
pub type CertResponses<'a> = ;
/// The `CertResponse` type is defined in [RFC 4210 Section 5.3.4].
///
/// ```text
/// CertResponse ::= SEQUENCE {
/// certReqId INTEGER,
/// -- to match this response with the corresponding request (a value
/// -- of -1 is to be used if certReqId is not specified in the
/// -- corresponding request)
/// status PKIStatusInfo,
/// certifiedKeyPair CertifiedKeyPair OPTIONAL,
/// rspInfo OCTET STRING OPTIONAL
/// -- analogous to the id-regInfo-utf8Pairs string defined
/// -- for regInfo in CertReqMsg [RFC4211]
/// }
/// ```
///
/// [RFC 4210 Section 5.3.4]: https://www.rfc-editor.org/rfc/rfc4210#section-5.3.4