Skip to content

Commit

Permalink
Add RsassaPkcsv15Sha1Raw
Browse files Browse the repository at this point in the history
  • Loading branch information
Firstyear committed Apr 20, 2024
1 parent 297a418 commit 31be739
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fido-mds/src/mds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ pub enum AuthenticationAlgorithm {
/// rsassa_pkcsv15_sha256_raw
#[serde(rename = "rsassa_pkcsv15_sha256_raw")]
RsassaPkcsv15Sha256Raw,
/// rsassa_pkcsv15_sha1_raw
#[serde(rename = "rsassa_pkcsv15_sha1_raw")]
RsassaPkcsv15Sha1Raw,
}

impl fmt::Display for AuthenticationAlgorithm {
Expand All @@ -346,6 +349,9 @@ impl fmt::Display for AuthenticationAlgorithm {
AuthenticationAlgorithm::RsassaPkcsv15Sha256Raw => {
write!(f, "rsassa_pkcsv15_sha256_raw")
}
AuthenticationAlgorithm::RsassaPkcsv15Sha1Raw => {
write!(f, "rsassa_pkcsv15_sha1_raw")
}
}
}
}
Expand Down

0 comments on commit 31be739

Please sign in to comment.