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
//! Polling-related types
use Vec;
use Int;
use Sequence;
use cratePkiFreeText;
/// The `PollReqContent` type is defined in [RFC 4210 Section 5.3.22].
///
/// ```text
/// PollReqContent ::= SEQUENCE OF SEQUENCE {
/// certReqId INTEGER }
/// ```
///
/// [RFC 4210 Section 5.3.22]: https://www.rfc-editor.org/rfc/rfc4210#section-5.3.22
/// The `PollReqContent` and `PollRepContent` types defined in [RFC 4210 Section 5.3.22] use an
/// INTEGER value for certificate IDs. The PollReqContentId type allows for this INTEGER type to
/// be changed.
///
/// [RFC 4210 Section 5.3.22]: https://www.rfc-editor.org/rfc/rfc4210#section-5.3.22
pub type PollReqContentId = Int;
/// The `PollRepContent` type is defined in [RFC 4210 Section 5.3.22].
///
/// ```text
/// PollRepContent ::= SEQUENCE OF SEQUENCE {
/// certReqId INTEGER,
/// checkAfter INTEGER, -- time in seconds
/// reason PKIFreeText OPTIONAL }
/// ```
///
/// [RFC 4210 Section 5.3.22]: https://www.rfc-editor.org/rfc/rfc4210#section-5.3.22