123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <UserControl x:Class="Compdfkit_Tools.PDFControl.CertificateDetailControl"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:Compdfkit_Tools.PDFControl"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="600">
- <Grid>
- <Grid Background="#ffffff" Margin="20,0,0,0" Panel.ZIndex="1" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top">
- <TextBlock Text="Details" FontWeight="Bold" FontSize="16"></TextBlock>
- </Grid>
-
- <Border Margin="12" BorderBrush="#33000000" BorderThickness="1" >
- <ScrollViewer Margin="0,10,0,0" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
- <StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Version: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="AwardTxt" Text="{Binding Version}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Algorithm: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="AlgorithmTxt" Text="{Binding Algorithm}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Subject: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="Subjectxt" Text="{Binding Subject}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Issuer: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="IssuerTxt" Text="{Binding Issuer}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
-
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Serial Number: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="SerialNumberTxt" Text="{Binding SerialNumber}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
-
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Valid from: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="ValidityFromTxt" Text="{Binding ValidityFrom}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
-
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Valid to: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="ValidityToTxt" Text="{Binding ValidityTo}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
-
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Certificate Policy: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="CertificatePolicyTxt" Text="{Binding CertificatePolicy}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
-
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="CRL Distribution Points: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="CRLTxt" Text="{Binding CrlDistributionPoint}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Issuer Information Access: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="AgencyInformationTxt" Text="{Binding AuthorityInfoAccess}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
-
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Issuer‘s Key Identifier: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="AuthoritySecretKeyTxt" Text="{Binding AuthorityKeyIdentifier}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Subject‘s Key Identifier: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="SubjectSecretKeyTxt" Text="{Binding SubjectKeyIdentifier}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Basic Constraints: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="BasicConstraintsTxt" Text="{Binding BasicConstraints}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Key Usage: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="KeyUsageTxt" Text="{Binding KeyUsage}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="Public key: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="PublicKeyTxt" Text="{Binding PublicKey}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
-
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="X.509 Data: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="X509Txt" Text="{Binding X509Data}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
-
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="SHA1 Abstract: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="SHA1AbstractTxt" Text="{Binding SHA1Digest}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
-
- <StackPanel Orientation="Horizontal" Margin="0,0,0,6">
- <TextBlock Text="MD5 Abstract: " Foreground="Black" FontSize="14"></TextBlock>
- <TextBlock x:Name="MD5AbstractTxt" Text="{Binding MD5Digest}" Foreground="#666" FontSize="14" Width="300" TextWrapping="Wrap"></TextBlock>
- </StackPanel>
- </StackPanel>
- </ScrollViewer>
- </Border>
- </Grid>
- </UserControl>
|