Skip to content

Commit 4cdba9c

Browse files
committed
x509-cert: NoticeReference is now an owned type
1 parent 19c2126 commit 4cdba9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

x509-cert/src/ext/pkix/certpolicy.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use alloc::{string::String, vec::Vec};
44

55
use const_oid::db::rfc5912::ID_CE_CERTIFICATE_POLICIES;
66
use const_oid::AssociatedOid;
7-
use der::asn1::{GeneralizedTime, Ia5String, ObjectIdentifier, UIntRef};
7+
use der::asn1::{GeneralizedTime, Ia5String, ObjectIdentifier, UInt};
88
use der::{Any, Choice, Sequence, ValueOrd};
99

1010
/// CertificatePolicies as defined in [RFC 5280 Section 4.2.1.4].
@@ -96,9 +96,9 @@ pub struct UserNotice {
9696
/// [RFC 5280 Section 4.2.1.4]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.4
9797
#[derive(Clone, Debug, Eq, PartialEq, Sequence)]
9898
#[allow(missing_docs)]
99-
pub struct NoticeReference<'a> {
99+
pub struct NoticeReference {
100100
pub organization: DisplayText,
101-
pub notice_numbers: Option<Vec<UIntRef<'a>>>,
101+
pub notice_numbers: Option<Vec<UInt>>,
102102
}
103103

104104
/// DisplayText as defined in [RFC 5280 Section 4.2.1.4].

0 commit comments

Comments
 (0)