mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-01-28 01:08:34 +08:00
Add PKCS#7 extensions to supported file types
Added '.p7s' and '.pkcs7' to the list of well-known certificate-related extensions in the CertViewer plugin to support PKCS#7 detached signature files.
This commit is contained in:
@@ -68,10 +68,10 @@
|
||||
RowHeaderWidth="0">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Width="150"
|
||||
Binding="{Binding Key}"
|
||||
Binding="{Binding Key, Mode=OneWay}"
|
||||
Header="Field" />
|
||||
<DataGridTextColumn Width="*"
|
||||
Binding="{Binding Value}"
|
||||
Binding="{Binding Value, Mode=OneWay}"
|
||||
Header="Value" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
|
||||
@@ -10,6 +10,7 @@ public sealed class Plugin : IViewer
|
||||
{
|
||||
private static readonly HashSet<string> WellKnownExtensions = new(StringComparer.OrdinalIgnoreCase)
|
||||
{
|
||||
".p7s", ".pkcs7", // PKCS #7 detached signature (signature only, no original content)
|
||||
".p12", // PKCS #12 certificate store (usually contains certificate and private key)
|
||||
".pfx", // PKCS #12 certificate store (similar to .p12, common on Windows)
|
||||
".cer", // Certificate file (DER or PEM encoded, usually contains only the public certificate)
|
||||
|
||||
Reference in New Issue
Block a user