@@ -3,7 +3,7 @@ use crate::serial_number::SerialNumber;
3
3
4
4
use const_oid:: db:: rfc5280:: ID_CE_AUTHORITY_KEY_IDENTIFIER ;
5
5
use const_oid:: { AssociatedOid , ObjectIdentifier } ;
6
- use der:: asn1:: OctetStringRef ;
6
+ use der:: asn1:: OctetString ;
7
7
use der:: Sequence ;
8
8
9
9
/// AuthorityKeyIdentifier as defined in [RFC 5280 Section 4.2.1.1].
@@ -21,9 +21,9 @@ use der::Sequence;
21
21
/// [RFC 5280 Section 4.2.1.1]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.1
22
22
#[ derive( Clone , Debug , Eq , PartialEq , Sequence ) ]
23
23
#[ allow( missing_docs) ]
24
- pub struct AuthorityKeyIdentifier < ' a > {
24
+ pub struct AuthorityKeyIdentifier {
25
25
#[ asn1( context_specific = "0" , tag_mode = "IMPLICIT" , optional = "true" ) ]
26
- pub key_identifier : Option < OctetStringRef < ' a > > ,
26
+ pub key_identifier : Option < OctetString > ,
27
27
28
28
#[ asn1( context_specific = "1" , tag_mode = "IMPLICIT" , optional = "true" ) ]
29
29
pub authority_cert_issuer : Option < GeneralNames > ,
@@ -32,6 +32,6 @@ pub struct AuthorityKeyIdentifier<'a> {
32
32
pub authority_cert_serial_number : Option < SerialNumber > ,
33
33
}
34
34
35
- impl < ' a > AssociatedOid for AuthorityKeyIdentifier < ' a > {
35
+ impl AssociatedOid for AuthorityKeyIdentifier {
36
36
const OID : ObjectIdentifier = ID_CE_AUTHORITY_KEY_IDENTIFIER ;
37
37
}
0 commit comments