mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8260693: Provide the support for specifying a signer in keytool -genkeypair
Reviewed-by: weijun
This commit is contained in:
parent
77b16739ab
commit
719f95e504
6 changed files with 484 additions and 42 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -162,6 +162,10 @@ public class Resources extends java.util.ListResourceBundle {
|
|||
"output in RFC style"}, //-rfc
|
||||
{"signature.algorithm.name",
|
||||
"signature algorithm name"}, //-sigalg
|
||||
{"signer.alias",
|
||||
"signer alias"}, //-signer
|
||||
{"signer.key.password",
|
||||
"signer key password"}, //-signerkeypass
|
||||
{"source.alias",
|
||||
"source alias"}, //-srcalias
|
||||
{"source.key.password",
|
||||
|
@ -302,6 +306,8 @@ public class Resources extends java.util.ListResourceBundle {
|
|||
"Key pair not generated, alias <{0}> already exists"},
|
||||
{"Generating.keysize.bit.keyAlgName.key.pair.and.self.signed.certificate.sigAlgName.with.a.validity.of.validality.days.for",
|
||||
"Generating {0} bit {1} key pair and self-signed certificate ({2}) with a validity of {3} days\n\tfor: {4}"},
|
||||
{"Generating.keysize.bit.keyAlgName.key.pair.and.a.certificate.sigAlgName.issued.by.signerAlias.with.a.validity.of.validality.days.for",
|
||||
"Generating {0} bit {1} key pair and a certificate ({2}) issued by <{3}> with a validity of {4} days\n\tfor: {5}"},
|
||||
{"Enter.key.password.for.alias.", "Enter key password for <{0}>"},
|
||||
{".RETURN.if.same.as.keystore.password.",
|
||||
"\t(RETURN if same as keystore password): "},
|
||||
|
@ -481,7 +487,6 @@ public class Resources extends java.util.ListResourceBundle {
|
|||
{"backup.keystore.warning", "The original keystore \"%1$s\" is backed up as \"%3$s\"..."},
|
||||
{"importing.keystore.status", "Importing keystore %1$s to %2$s..."},
|
||||
{"keyalg.option.missing.error", "The -keyalg option must be specified."},
|
||||
|
||||
{"showinfo.no.option", "Missing option for -showinfo. Try \"keytool -showinfo -tls\"."},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue