diff options
author | Raif S. Naffah <raif@swiftdsl.com.au> | 2006-05-13 00:34:54 +0000 |
---|---|---|
committer | Raif S. Naffah <raif@swiftdsl.com.au> | 2006-05-13 00:34:54 +0000 |
commit | a7ecd35a7bf9eb05fbe34afe2c598fdc0d863a14 (patch) | |
tree | 1da54d8a66c070f3349af2e7950aebeff1b1fbf5 /resource | |
parent | 9bed728379aef945960e8979af03bcb4ca37471c (diff) | |
download | classpath-a7ecd35a7bf9eb05fbe34afe2c598fdc0d863a14.tar.gz |
2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
* resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
Added help text.
* tools/Makefile.am (JARSIGNER_HELPS): Removed.
* tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
* tools/gnu/classpath/tools/jarsigner/Main.java:
Increased visibility of fields used by parser anonymous classes.
(HELP_PATH): Removed.
(cmdLineParser): New field.
(main): Handle JVM exit status.
Handle command line parsing exceptions.
(processArgs): Use getopt command line parser.
(getParser): New method.
(setupCommonParams): Removed checks now handled by processArgs().
(setupSigningParams): Likewise.
* tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
Reuse an existing message-bundle constant.
Diffstat (limited to 'resource')
-rw-r--r-- | resource/gnu/classpath/tools/jarsigner/MessageBundle.properties | 67 |
1 files changed, 59 insertions, 8 deletions
diff --git a/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties b/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties index 902166d5f..565041f21 100644 --- a/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties +++ b/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties @@ -8,23 +8,74 @@ Main.72=JAR file [{0}] is NOT readable Main.85=Unable to locate a valid key store Main.92=Enter key store password: Main.6=Designated alias [{0}] MUST be known to the key store in use +Main.2=\ +Usage: jarsigner [OPTION]... FILE ALIAS\n\ +\ \ \ \ \ \ \ \ jarsigner -verify [OPTION]... FILE\n\ +Java ARchive (JAR) file signing and verification tool.\n\ +\n\ +FILE is the .JAR file to sign or to verify.\n\ +\n\ +ALIAS must be a known Alias of a Key Entry in the designated key store. The \ +private key material associated with this Alias is used for signing FILE. if \ +ALIAS is required, but was omitted, "mykey" will be used instead. +Main.1=Please report bugs at http://www.gnu.org/software/classpath/bugs.html +Main.0=Signing options Main.95=Designated alias [{0}] MUST be an Alias of a Key Entry Main.97=Enter key password for <{0}>: Main.99=Key associated with [{0}] MUST be a private key +Main.101=Location of the key store to use. The default value is a file-based \ +scheme whose path is the file named ".keystore" in your home directory.\n\ +If URL is malformed, the tool will use URL as a file-name of a key store; \ +i.e. as if the protocol was "file:". +Main.102=URL +Main.104=Type of the key store to use. If omitted, the default value is that \ +of the property "keystore.type" in the security properties file. +Main.105=STORE_TYPE +Main.107=Password to unlock the key store. If omitted, you will be prompted \ +to provide a password. +Main.108=PASSWORD +Main.110=Password to unlock the Key Entry associated with ALIAS. If omitted, \ +the tool will use the same password protecting the key store. If this fails, \ +you will be prompted to provide a password. +Main.111=PASSWORD +Main.113=A literal to construct file names for both the .SF and .DSA signature \ +files --which will be placed in the META-INF directory of the signed JAR. \ +Permissible characters are in the range [a-zA-Z0-9_-].\n\ +If omitted, the first 8 characters of ALIAS will be used. Characters outside \ +that range will be replaced by underscores. +Main.114=NAME +Main.116=Name of the signed JAR file. If omitted, the signed JAR will be \ +named the same as FILE; i.e. the input file will be replaced with its signed \ +copy. +Main.117=FILE +Main.118=Verification options +Main.120=Verify an already signed FILE. +Main.122=Use with -verbose to see more detailed information about the \ +certificates of ALIAS. +Main.123=Common options +Main.125=Output more verbose messages during processing. +Main.127=Include --otherwise do not-- the .SF file in the .DSA generated file. +Main.129=Include in the .SF generated file --otherwise do not-- a header \ +containing a hash of the whole manifest file. +Main.131=Fully qualified class name of a Security Provider to add to the JVM \ +in-use. +Main.132=PROVIDER_CLASS_NAME +Main.133=Missing FILE argument. JarSigner.1=\ \ signing: JarSigner.2=\ updating: JarSigner.8=\ \ \ adding: -JarSigner.11=\ \ \ adding: -JarSigner.14=jar signed. +JarSigner.14=Jar signed. -JarVerifier.2=jar is not signed.--no signature files found. -JarVerifier.3=jar verification failed. -JarVerifier.4=jar partially verified --{0,numer} of {1,number} signers. -JarVerifier.7=jar verified --{0,number} signer(s). +JarVerifier.2=Jar is not signed --no signature files found. +JarVerifier.3=Jar verification failed. +JarVerifier.4=Jar partially verified --{0,numer} of {1,number} signers. +JarVerifier.7=Jar verified --{0,number} signer(s). JarVerifier.13=Signature Block missing for {0} -JarVerifier.14=At least one SignerInfo element MUST be present in a Signature Block (.DSA file) -JarVerifier.16=Missing EncryptedDigest in Signature Block (.DSA file) first SignerInfo element +JarVerifier.14=At least one SignerInfo element MUST be present in a Signature \ +Block (.DSA file) +JarVerifier.16=Missing EncryptedDigest in Signature Block (.DSA file) first \ +SignerInfo element SFHelper.1=Helper is NOT finished SFHelper.4=.SF file has NOT been generated |