@@ -11,7 +11,7 @@ pub use dp::IssuingDistributionPoint;
11
11
12
12
use alloc:: vec:: Vec ;
13
13
14
- use der:: { asn1:: UIntRef , Enumerated } ;
14
+ use der:: { asn1:: UInt , Enumerated } ;
15
15
16
16
/// CrlNumber as defined in [RFC 5280 Section 5.2.3].
17
17
///
@@ -20,14 +20,14 @@ use der::{asn1::UIntRef, Enumerated};
20
20
/// ```
21
21
///
22
22
/// [RFC 5280 Section 5.2.3]: https://datatracker.ietf.org/doc/html/rfc5280#section-5.2.3
23
- #[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
24
- pub struct CrlNumber < ' a > ( pub UIntRef < ' a > ) ;
23
+ #[ derive( Clone , Debug , PartialEq , Eq ) ]
24
+ pub struct CrlNumber ( pub UInt ) ;
25
25
26
- impl < ' a > AssociatedOid for CrlNumber < ' a > {
26
+ impl AssociatedOid for CrlNumber {
27
27
const OID : ObjectIdentifier = ID_CE_CRL_NUMBER ;
28
28
}
29
29
30
- impl_newtype ! ( CrlNumber < ' a> , UIntRef < ' a> ) ;
30
+ impl_newtype ! ( CrlNumber , UInt ) ;
31
31
32
32
/// BaseCRLNumber as defined in [RFC 5280 Section 5.2.4].
33
33
///
@@ -36,14 +36,14 @@ impl_newtype!(CrlNumber<'a>, UIntRef<'a>);
36
36
/// ```
37
37
///
38
38
/// [RFC 5280 Section 5.2.4]: https://datatracker.ietf.org/doc/html/rfc5280#section-5.2.4
39
- #[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
40
- pub struct BaseCrlNumber < ' a > ( pub UIntRef < ' a > ) ;
39
+ #[ derive( Clone , Debug , PartialEq , Eq ) ]
40
+ pub struct BaseCrlNumber ( pub UInt ) ;
41
41
42
- impl < ' a > AssociatedOid for BaseCrlNumber < ' a > {
42
+ impl AssociatedOid for BaseCrlNumber {
43
43
const OID : ObjectIdentifier = ID_CE_DELTA_CRL_INDICATOR ;
44
44
}
45
45
46
- impl_newtype ! ( BaseCrlNumber < ' a> , UIntRef < ' a> ) ;
46
+ impl_newtype ! ( BaseCrlNumber , UInt ) ;
47
47
48
48
/// CrlDistributionPoints as defined in [RFC 5280 Section 4.2.1.13].
49
49
///
0 commit comments