Enabling RSA2048 and RSA4096 as available key types (#551)

* Enabling RSA2048 and RSA4096 as available key types

* Fixing re-issuance
This commit is contained in:
kevgliss
2016-12-01 15:41:53 -08:00
committed by GitHub
parent 41b59c5445
commit 81bf98c746
6 changed files with 38 additions and 16 deletions

View File

@ -8,7 +8,7 @@
<div class="col-sm-3">
<select class="form-control" ng-model="certificate.subAltType" ng-options="item for item in ['DNSName', 'IPAddress', 'uniformResourceIdentifier', 'directoryName','rfc822Name', 'registeredID', 'otherName', 'x400Address', 'EDIPartyName']"></select>
</div>
<div class="col-sm-5">
<div class="col-sm-6">
<div class="input-group">
<input tooltip-trigger="focus" tooltip-placement="top" uib-tooltip="String or Base64-encoded DER ASN.1 structure for the value" class="form-control" name="value" ng-model="certificate.subAltValue" placeholder="Value" class="form-control" required/>
<span class="input-group-btn">
@ -18,7 +18,7 @@
</div>
</div>
<div class="form-group">
<div class="col-sm-8 col-sm-offset-2">
<div class="col-sm-10 col-sm-offset-2">
<table class="table">
<tr ng-repeat="alt in certificate.extensions.subAltNames.names track by $index">
<td>{{ alt.nameType }}</td>
@ -30,6 +30,14 @@
</table>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">
Key Type
</label>
<div class="col-sm-10">
<select class="form-control" ng-model="certificate.keyType" ng-options="option for option in ['RSA2048', 'RSA4096']" ng-init="certificate.keyType = 'RSA2048'"></select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">
Key Usage
@ -178,7 +186,7 @@
<label class="control-label col-sm-2">
cRL Distribution Points
</label>
<div class="col-sm-8">
<div class="col-sm-10">
<select class="form-control" ng-model="certificate.extensions.cRLDistributionPoints.includeCRLDP" ng-options="item for item in ['yes', 'no', 'default']"></select>
</div>
</div>
@ -210,7 +218,7 @@
</div>
</div>
<div class="form-group">
<div class="col-sm-8 col-sm-offset-2">
<div class="col-sm-10 col-sm-offset-2">
<table class="table">
<tr ng-repeat="custom in certificate.extensions.custom track by $index">
<td>{{ custom.oid }}</td>