Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in jwk.rs #353

Merged
merged 1 commit into from
Dec 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/jwk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ pub struct CommonParameters {
#[serde(rename = "kid", skip_serializing_if = "Option::is_none", default)]
pub key_id: Option<String>,

/// X.509 Public key cerfificate URL. This is currently not implemented (correctly).
/// X.509 Public key certificate URL. This is currently not implemented (correctly).
///
/// Serialized to `x5u`.
#[serde(rename = "x5u", skip_serializing_if = "Option::is_none")]
Expand Down Expand Up @@ -412,7 +412,7 @@ pub struct Jwk {
}

impl Jwk {
/// Find whether the Algorithm is implmented and supported
/// Find whether the Algorithm is implemented and supported
pub fn is_supported(&self) -> bool {
self.common.key_algorithm.unwrap().to_algorithm().is_ok()
}
Expand Down