AddCertificationControl.xaml 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <Window x:Class="Compdfkit_Tools.DigitalSignature.AddCertificationControl.AddCertificationControl"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:Compdfkit_Tools.DigitalSignature.AddCertificationControl"
  7. mc:Ignorable="d"
  8. d:DesignHeight="474" d:DesignWidth="462">
  9. <Grid Margin="10,10,10,10">
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="Auto" />
  12. <RowDefinition Height="Auto" />
  13. <RowDefinition Height="Auto" />
  14. <RowDefinition Height="Auto" />
  15. <RowDefinition Height="Auto" />
  16. </Grid.RowDefinitions>
  17. <Label Grid.Row="0" Content="Select the type of Digital ID:" FontSize="14" FontFamily="Segoe UI" FontWeight="600" Padding="0,4,0,4" Width="187" HorizontalAlignment="Left"></Label>
  18. <StackPanel Grid.Row="1" Orientation="Horizontal">
  19. <RadioButton FontSize="16" BorderThickness="1" Margin="0,2,0,0" BorderBrush="#43474D" GroupName="ChooseCertification" VerticalAlignment="Center"></RadioButton>
  20. <StackPanel Orientation="Horizontal" Width="386" Height="80">
  21. <Image Width="32" Height="32" Margin="0,0,0,0" VerticalAlignment="Center"></Image>
  22. <StackPanel Orientation="Vertical" Margin="10,0,0,0" VerticalAlignment="Center">
  23. <Label Content="Use a Digital ID from a file" FontSize="14" FontFamily="Segoe UI" FontWeight="600" Padding="0,4,0,4" Width="168" HorizontalAlignment="Left" VerticalAlignment="Top"></Label>
  24. <Label Content="Import an existing Digital ID that you have obtained as a file" FontSize="12" FontFamily="Segoe UI" FontWeight="400" Padding="0,4,0,4" Width="318" HorizontalAlignment="Left" VerticalAlignment="Bottom"></Label>
  25. </StackPanel>
  26. </StackPanel>
  27. </StackPanel>
  28. <StackPanel Grid.Row="2" Orientation="Horizontal">
  29. <RadioButton FontSize="16" BorderThickness="1" Margin="0,2,0,0" BorderBrush="#43474D" GroupName="ChooseCertification" VerticalAlignment="Center"></RadioButton>
  30. <StackPanel Orientation="Horizontal" Width="386" Height="80">
  31. <Image Width="32" Height="32" Margin="0,0,0,0" VerticalAlignment="Center"></Image>
  32. <StackPanel Orientation="Vertical" Margin="10,0,0,0" VerticalAlignment="Center">
  33. <Label Content="Use a Digital ID from a file" FontSize="14" FontFamily="Segoe UI" FontWeight="600" Padding="0,4,0,4" Width="168" HorizontalAlignment="Left" VerticalAlignment="Top"></Label>
  34. <Label Content="Create your self-signed Digital ID" FontSize="12" FontFamily="Segoe UI" FontWeight="400" Padding="0,4,0,4" Width="318" HorizontalAlignment="Left" VerticalAlignment="Bottom"></Label>
  35. </StackPanel>
  36. </StackPanel>
  37. </StackPanel>
  38. <StackPanel Grid.Row="3" Margin="10,10,10,10">
  39. <TextBlock FontWeight="400" FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2" Padding="12,10,12,10"
  40. Text="A Digital ID is required to create a digital signature. The most secure Digital ID are issued by trusted Certificate authorities and are based on secure devices like smart card or token. Some are based on files."/>
  41. <TextBlock FontWeight="400" FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2"/>
  42. <TextBlock FontWeight="400" FontSize="12" FontFamily="Segoe UI" Foreground="#43474D" TextWrapping="Wrap" Background="#F2F2F2" Padding="12,10,12,10"
  43. Text="You can also create a new Digital ID, but they provide a low level of identity assurance."/>
  44. </StackPanel>
  45. <StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right">
  46. <Button Content="Cancel" Width="112" Height="32" BorderThickness="1" Margin="0,0,10,0"></Button>
  47. <Button Content="Continue" Width="112" Height="32" BorderThickness="1"></Button>
  48. </StackPanel>
  49. </Grid>
  50. </Window>