We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0840f8 commit ab7181bCopy full SHA for ab7181b
authenticode/src/signature.rs
@@ -243,6 +243,12 @@ impl AuthenticodeSignature {
243
self.indirect_data.message_digest.digest.as_bytes()
244
}
245
246
+ /// Get the algorithm used for the authenticode digest embedded in the
247
+ /// signature.
248
+ pub fn digest_algorithm(&self) -> &spki::AlgorithmIdentifierOwned {
249
+ &self.indirect_data.message_digest.digest_algorithm
250
+ }
251
+
252
/// Get the authenticode signature.
253
///
254
/// This is the `encryptedDigest` value embedded in the signature;
0 commit comments