Skip to content

Commit

Permalink
Deprecated type alias for SubjectPublicKeyInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
cpu committed May 7, 2024
1 parent 7184ef5 commit 4b62445
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>);
Expand Down

0 comments on commit 4b62445

Please sign in to comment.