2012-04-18 20:30:57 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
<class>AndroidCreateKeystoreCertificate</class>
|
|
|
|
|
<widget class="QDialog" name="AndroidCreateKeystoreCertificate">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>638</width>
|
2013-08-29 18:53:52 +02:00
|
|
|
<height>473</height>
|
2012-04-18 20:30:57 +03:00
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
2012-07-30 17:31:06 +02:00
|
|
|
<string>Create a keystore and a certificate</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="2" column="0" colspan="2">
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="title">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>Certificate Distinguished Names</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
2013-08-29 18:53:52 +02:00
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
2012-04-18 20:30:57 +03:00
|
|
|
<item row="0" column="0">
|
2013-08-29 18:53:52 +02:00
|
|
|
<widget class="QLabel" name="label_5">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="text">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>First and last name:</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1">
|
2013-08-29 18:53:52 +02:00
|
|
|
<widget class="QLineEdit" name="commonNameLineEdit"/>
|
2012-04-18 20:30:57 +03:00
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
2013-08-29 18:53:52 +02:00
|
|
|
<widget class="QLabel" name="label_6">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="text">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>Organizational unit (e.g. Necessitas):</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="1">
|
2013-08-29 18:53:52 +02:00
|
|
|
<widget class="QLineEdit" name="organizationUnitLineEdit"/>
|
2012-04-18 20:30:57 +03:00
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0">
|
2013-08-29 18:53:52 +02:00
|
|
|
<widget class="QLabel" name="label_7">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="text">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>Organization (e.g. KDE):</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="1">
|
2013-08-29 18:53:52 +02:00
|
|
|
<widget class="QLineEdit" name="organizationNameLineEdit"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_8">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="text">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>City or locality:</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
2013-08-29 18:53:52 +02:00
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="localityNameLineEdit"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_9">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>State or province:</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
2013-08-29 18:53:52 +02:00
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="4" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="stateNameLineEdit"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="5" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_10">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="text">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>Two-letter country code for this unit (e.g. RO):</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="5" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="countryLineEdit">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="inputMask">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string/>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
<property name="maxLength">
|
2013-08-29 18:53:52 +02:00
|
|
|
<number>2</number>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>Certificate</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
|
<item row="4" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="certificateRetypePassLineEdit">
|
|
|
|
|
<property name="echoMode">
|
|
|
|
|
<enum>QLineEdit::Password</enum>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
2013-08-29 18:53:52 +02:00
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="5" column="1">
|
|
|
|
|
<widget class="QCheckBox" name="certificateShowPassCheckBox">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Show password</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="2" column="1">
|
|
|
|
|
<widget class="QSpinBox" name="validitySpinBox">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="minimum">
|
2013-08-29 18:53:52 +02:00
|
|
|
<number>10000</number>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
<property name="maximum">
|
2013-08-29 18:53:52 +02:00
|
|
|
<number>100000</number>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_13">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Validity (days):</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_11">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Alias name:</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
2013-08-29 18:53:52 +02:00
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_17">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Password:</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="0" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="certificateAliasLineEdit">
|
|
|
|
|
<property name="inputMask">
|
|
|
|
|
<string notr="true"/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maxLength">
|
2015-11-25 10:22:39 +01:00
|
|
|
<number>32</number>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_12">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="text">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>Keysize:</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="3" column="1">
|
|
|
|
|
<widget class="QLineEdit" name="certificatePassLineEdit">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="echoMode">
|
|
|
|
|
<enum>QLineEdit::Password</enum>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="1" column="1">
|
|
|
|
|
<widget class="QSpinBox" name="keySizeSpinBox">
|
|
|
|
|
<property name="minimum">
|
|
|
|
|
<number>2048</number>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
2013-08-29 18:53:52 +02:00
|
|
|
<property name="maximum">
|
|
|
|
|
<number>2097152</number>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="4" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_18">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="text">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>Retype password:</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="5" column="0">
|
|
|
|
|
<widget class="QCheckBox" name="samePasswordCheckBox">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="text">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>Use Keystore password</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>Keystore</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2012-04-18 20:30:57 +03:00
|
|
|
<item row="1" column="1">
|
2013-08-29 18:53:52 +02:00
|
|
|
<widget class="QLineEdit" name="keystorePassLineEdit">
|
|
|
|
|
<property name="echoMode">
|
|
|
|
|
<enum>QLineEdit::Password</enum>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="1">
|
2013-08-29 18:53:52 +02:00
|
|
|
<widget class="QLineEdit" name="keystoreRetypePassLineEdit">
|
|
|
|
|
<property name="echoMode">
|
|
|
|
|
<enum>QLineEdit::Password</enum>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
2012-04-18 20:30:57 +03:00
|
|
|
</item>
|
|
|
|
|
<item row="3" column="0">
|
2013-08-29 18:53:52 +02:00
|
|
|
<widget class="QCheckBox" name="keystoreShowPassCheckBox">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="text">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>Show password</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="label">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="text">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>Password:</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
2012-04-18 20:30:57 +03:00
|
|
|
<property name="text">
|
2013-08-29 18:53:52 +02:00
|
|
|
<string>Retype password:</string>
|
2012-04-18 20:30:57 +03:00
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="0" column="0" colspan="2">
|
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>20</width>
|
|
|
|
|
<height>40</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
2012-04-18 20:30:57 +03:00
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="3" column="1">
|
2012-04-18 20:30:57 +03:00
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="standardButtons">
|
|
|
|
|
<set>QDialogButtonBox::Close|QDialogButtonBox::Save</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-08-29 18:53:52 +02:00
|
|
|
<item row="3" column="0">
|
|
|
|
|
<widget class="QLabel" name="infoLabel">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2012-04-18 20:30:57 +03:00
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<tabstops>
|
|
|
|
|
<tabstop>keystorePassLineEdit</tabstop>
|
|
|
|
|
<tabstop>keystoreRetypePassLineEdit</tabstop>
|
2016-08-02 11:52:22 +03:00
|
|
|
<tabstop>keystoreShowPassCheckBox</tabstop>
|
2013-08-29 18:53:52 +02:00
|
|
|
<tabstop>certificateAliasLineEdit</tabstop>
|
2012-04-18 20:30:57 +03:00
|
|
|
<tabstop>keySizeSpinBox</tabstop>
|
|
|
|
|
<tabstop>validitySpinBox</tabstop>
|
|
|
|
|
<tabstop>certificatePassLineEdit</tabstop>
|
|
|
|
|
<tabstop>certificateRetypePassLineEdit</tabstop>
|
2016-08-02 11:52:22 +03:00
|
|
|
<tabstop>certificateShowPassCheckBox</tabstop>
|
|
|
|
|
<tabstop>samePasswordCheckBox</tabstop>
|
2012-04-18 20:30:57 +03:00
|
|
|
<tabstop>commonNameLineEdit</tabstop>
|
|
|
|
|
<tabstop>organizationUnitLineEdit</tabstop>
|
|
|
|
|
<tabstop>organizationNameLineEdit</tabstop>
|
|
|
|
|
<tabstop>localityNameLineEdit</tabstop>
|
|
|
|
|
<tabstop>stateNameLineEdit</tabstop>
|
|
|
|
|
<tabstop>countryLineEdit</tabstop>
|
|
|
|
|
</tabstops>
|
|
|
|
|
<resources/>
|
|
|
|
|
<connections>
|
|
|
|
|
<connection>
|
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
|
<receiver>AndroidCreateKeystoreCertificate</receiver>
|
|
|
|
|
<slot>reject()</slot>
|
|
|
|
|
<hints>
|
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
|
<x>320</x>
|
|
|
|
|
<y>422</y>
|
|
|
|
|
</hint>
|
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
|
<x>286</x>
|
|
|
|
|
<y>274</y>
|
|
|
|
|
</hint>
|
|
|
|
|
</hints>
|
|
|
|
|
</connection>
|
|
|
|
|
<connection>
|
|
|
|
|
<sender>keystorePassLineEdit</sender>
|
|
|
|
|
<signal>editingFinished()</signal>
|
|
|
|
|
<receiver>keystoreRetypePassLineEdit</receiver>
|
|
|
|
|
<slot>setFocus()</slot>
|
|
|
|
|
<hints>
|
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
|
<x>201</x>
|
|
|
|
|
<y>48</y>
|
|
|
|
|
</hint>
|
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
|
<x>213</x>
|
|
|
|
|
<y>75</y>
|
|
|
|
|
</hint>
|
|
|
|
|
</hints>
|
|
|
|
|
</connection>
|
|
|
|
|
</connections>
|
|
|
|
|
</ui>
|