@@ -62,6 +62,7 @@ use crate::{
62
62
/// key_identifier_method: KeyIdMethod::PreSpecified(vec![]),
63
63
/// }.signed_by(&issuer, &key_pair).unwrap();
64
64
///# }
65
+ #[ derive( Debug ) ]
65
66
pub struct CertificateRevocationList {
66
67
params : CertificateRevocationListParams ,
67
68
der : CertificateRevocationListDer < ' static > ,
@@ -162,6 +163,7 @@ pub enum RevocationReason {
162
163
}
163
164
164
165
/// Parameters used for certificate revocation list (CRL) generation
166
+ #[ derive( Debug ) ]
165
167
pub struct CertificateRevocationListParams {
166
168
/// Issue date of the CRL.
167
169
pub this_update : OffsetDateTime ,
@@ -302,6 +304,7 @@ impl CertificateRevocationListParams {
302
304
303
305
/// A certificate revocation list (CRL) issuing distribution point, to be included in a CRL's
304
306
/// [issuing distribution point extension](https://datatracker.ietf.org/doc/html/rfc5280#section-5.2.5).
307
+ #[ derive( Debug ) ]
305
308
pub struct CrlIssuingDistributionPoint {
306
309
/// The CRL's distribution point, containing a sequence of URIs the CRL can be retrieved from.
307
310
pub distribution_point : CrlDistributionPoint ,
@@ -344,6 +347,7 @@ pub enum CrlScope {
344
347
}
345
348
346
349
/// Parameters used for describing a revoked certificate included in a [`CertificateRevocationList`].
350
+ #[ derive( Debug ) ]
347
351
pub struct RevokedCertParams {
348
352
/// Serial number identifying the revoked certificate.
349
353
pub serial_number : SerialNumber ,
0 commit comments