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
65
66
67
68
69
70
71
72
//! Announcement-related types
use Box;
use Vec;
use GeneralizedTime;
use Sequence;
use CertId;
use ;
use crateCmpCertificate;
use cratePkiStatus;
/// The `CAKeyUpdAnnContent` announcement is defined in [RFC 4210 Section 5.3.13].
///
/// ```text
/// CAKeyUpdAnnContent ::= SEQUENCE {
/// oldWithNew CMPCertificate, -- old pub signed with new priv
/// newWithOld CMPCertificate, -- new pub signed with old priv
/// newWithNew CMPCertificate -- new pub signed with new priv
/// }
/// ```
///
/// [RFC 4210 Section 5.3.13]: https://www.rfc-editor.org/rfc/rfc4210#section-5.3.13
/// The `CertAnnContent` announcement is defined in [RFC 4210 Section 5.3.14].
///
/// ```text
/// CertAnnContent ::= CMPCertificate
/// ```
///
/// [RFC 4210 Section 5.3.14]: https://www.rfc-editor.org/rfc/rfc4210#section-5.3.14
pub type CertAnnContent = CmpCertificate;
/// The `RevAnnContent` announcement is defined in [RFC 4210 Section 5.3.15].
///
/// ```text
/// RevAnnContent ::= SEQUENCE {
/// status PKIStatus,
/// certId CertId,
/// willBeRevokedAt GeneralizedTime,
/// badSinceDate GeneralizedTime,
/// crlDetails Extensions{{...}} OPTIONAL
/// }
/// ```
///
/// [RFC 4210 Section 5.3.15]: https://www.rfc-editor.org/rfc/rfc4210#section-5.3.15
/// The `CRLAnnContent` announcement is defined in [RFC 4210 Section 5.3.16].
///
/// ```text
/// CRLAnnContent ::= SEQUENCE OF CertificateList
/// ```
///
/// [RFC 4210 Section 5.3.16]: https://www.rfc-editor.org/rfc/rfc4210#section-5.3.16
pub type CrlAnnContent = ;