use of de.carne.certmgr.certs.spi.CertGenerator in project certmgr by hdecarne.
the class CertOptionsController method resetSigAlgOptions.
private void resetSigAlgOptions(@Nullable Issuer issuer) {
CertGenerator generator = this.ctlGeneratorOption.getValue();
KeyPairAlgorithm keyPairAlgorithm = this.ctlKeyAlgOption.getValue();
resetSigAlgOptions(generator, keyPairAlgorithm, issuer);
}
use of de.carne.certmgr.certs.spi.CertGenerator in project certmgr by hdecarne.
the class CertOptionsController method onCmdGenerate.
@SuppressWarnings("unused")
@FXML
void onCmdGenerate(ActionEvent evt) {
try {
String alias = validateAndGetAlias();
CertGenerator generator = validateAndGetGenerator();
GenerateCertRequest generateRequest = validateAndGetGenerateRequest(generator);
getExecutorService().submit(new GenerateEntryTask(generator, generateRequest, alias));
} catch (ValidationException e) {
ValidationAlerts.error(e).showAndWait();
}
}
use of de.carne.certmgr.certs.spi.CertGenerator in project certmgr by hdecarne.
the class CertOptionsController method resetSigAlgOptions.
private void resetSigAlgOptions(@Nullable KeyPairAlgorithm keyPairAlgorithm) {
CertGenerator generator = this.ctlGeneratorOption.getValue();
Issuer issuer = this.ctlIssuerInput.getValue();
resetSigAlgOptions(generator, keyPairAlgorithm, issuer);
}
Aggregations