AOT compatible signature and encryption page.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:abstract="using:Wino.Views.Abstract"
|
||||
xmlns:crypt="using:System.Security.Cryptography.X509Certificates"
|
||||
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:domain="using:Wino.Core.Domain"
|
||||
@@ -56,7 +57,7 @@
|
||||
</Grid>
|
||||
</ListView.Header>
|
||||
<ListView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<DataTemplate x:DataType="crypt:X509Certificate2">
|
||||
<Grid ColumnSpacing="16">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="0" />
|
||||
@@ -64,17 +65,17 @@
|
||||
<ColumnDefinition Width="120" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="1" Text="{Binding Subject}" />
|
||||
<TextBlock Grid.Column="1" Text="{x:Bind Subject, Mode=OneWay}" />
|
||||
<TextBlock
|
||||
Grid.Column="2"
|
||||
FontSize="10"
|
||||
Foreground="Gray"
|
||||
Text="{Binding NotAfter}" />
|
||||
Text="{x:Bind NotAfter, Mode=OneWay}" />
|
||||
<TextBlock
|
||||
Grid.Column="3"
|
||||
FontSize="10"
|
||||
Foreground="Gray"
|
||||
Text="{Binding Thumbprint}" />
|
||||
Text="{x:Bind Thumbprint, Mode=OneWay}" />
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
@@ -137,7 +138,7 @@
|
||||
</Grid>
|
||||
</ListView.Header>
|
||||
<ListView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<DataTemplate x:DataType="crypt:X509Certificate2">
|
||||
<Grid ColumnSpacing="16">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="0" />
|
||||
@@ -145,17 +146,17 @@
|
||||
<ColumnDefinition Width="120" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="1" Text="{Binding Subject}" />
|
||||
<TextBlock Grid.Column="1" Text="{x:Bind Subject, Mode=OneWay}" />
|
||||
<TextBlock
|
||||
Grid.Column="2"
|
||||
FontSize="10"
|
||||
Foreground="Gray"
|
||||
Text="{Binding NotAfter}" />
|
||||
Text="{x:Bind NotAfter, Mode=OneWay}" />
|
||||
<TextBlock
|
||||
Grid.Column="3"
|
||||
FontSize="10"
|
||||
Foreground="Gray"
|
||||
Text="{Binding Thumbprint}" />
|
||||
Text="{x:Bind Thumbprint, Mode=OneWay}" />
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
|
||||
Reference in New Issue
Block a user