mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
Translate the special text "DNS:copycn" in the SAN to the final common name. Add checkobox "Copy Common Name" to the SAN Edit box, for a user-friendly editing of the "DNS:copycn" During certificate creation, an empty common name together with "DNS:copycn" in the SAN will raise a warning message and the opportunity to change the settings. Change the SAN in the HTTP-server XCA template from "DNS:your.server.name.here" to "DNS:copycn" to already take advantage of this feature in the default template.
196 lines
4.5 KiB
XML
196 lines
4.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>v3ext</class>
|
|
<widget class="QDialog" name="v3ext">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>473</width>
|
|
<height>233</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QCheckBox" name="critical">
|
|
<property name="text">
|
|
<string notr="true">Critical</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="copy_cn">
|
|
<property name="text">
|
|
<string>Copy Common Name</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="kvView" name="tab"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="infoLabel">
|
|
<property name="frameShape">
|
|
<enum>QFrame::Panel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="addEntry">
|
|
<property name="text">
|
|
<string>Add</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="delEntry">
|
|
<property name="text">
|
|
<string>Delete</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="apply">
|
|
<property name="text">
|
|
<string>Apply</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="validate">
|
|
<property name="text">
|
|
<string>Validate</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="cancel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cancel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>kvView</class>
|
|
<extends>QTableView</extends>
|
|
<header>widgets/kvView.h</header>
|
|
<slots>
|
|
<slot>addKvRow()</slot>
|
|
<slot>deleteCurrentRow()</slot>
|
|
</slots>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>cancel</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>v3ext</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>375</x>
|
|
<y>221</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>227</x>
|
|
<y>150</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>delEntry</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>tab</receiver>
|
|
<slot>deleteCurrentRow()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>323</x>
|
|
<y>51</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>222</x>
|
|
<y>52</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>addEntry</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>tab</receiver>
|
|
<slot>addKvRow()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>307</x>
|
|
<y>31</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>270</x>
|
|
<y>30</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|