mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
Close #199: Templates and Key Identifiers
Extend all 3 templates. Skip AKID for self-signed certificates. Visualize this by disabling the AKID checkbox if a self-signed certificate is going to be created.
This commit is contained in:
parent
2bb89cb8c0
commit
4b76522d9e
BIN
misc/CA.xca
BIN
misc/CA.xca
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1594,5 +1594,21 @@
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>selfSignRB</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>authKey</receiver>
|
||||
<slot>setDisabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>372</x>
|
||||
<y>319</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>625</x>
|
||||
<y>172</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
|
||||
@ -47,7 +47,6 @@ x509v3ext NewX509::getSubKeyIdent()
|
||||
return ext;
|
||||
}
|
||||
|
||||
|
||||
x509v3ext NewX509::getOCSPstaple()
|
||||
{
|
||||
x509v3ext ext;
|
||||
@ -61,7 +60,7 @@ x509v3ext NewX509::getOCSPstaple()
|
||||
x509v3ext NewX509::getAuthKeyIdent()
|
||||
{
|
||||
x509v3ext ext;
|
||||
if (!authKey->isChecked() || !authKey->isEnabled())
|
||||
if (!authKey->isChecked() || !authKey->isEnabled() || selfSignRB->isChecked())
|
||||
return ext;
|
||||
|
||||
QString x = "keyid,issuer";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user