From 4b6244573a0f16baa5614dcefacd3dafcda46a29 Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Tue, 7 May 2024 08:39:08 -0400 Subject: [PATCH] Deprecated type alias for SubjectPublicKeyInfo --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 9b2f669..16b660b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -500,6 +500,10 @@ impl CertificateDer<'_> { } } +/// A DER-encoded SubjectPublicKeyInfo (SPKI), as specified in RFC 5280. +#[deprecated(since = "1.7.0", note = "Prefer `SubjectPublicKeyInfoDer` instead")] +pub type SubjectPublicKeyInfo<'a> = SubjectPublicKeyInfoDer<'a>; + /// A DER-encoded SubjectPublicKeyInfo (SPKI), as specified in RFC 5280. #[derive(Clone, Debug, PartialEq, Eq)] pub struct SubjectPublicKeyInfoDer<'a>(Der<'a>);