#  $Id: security_decryptkey,v 1.6 2008-05-29 12:53:45 jm199791 Exp $
#  Copyright 2008 Sun Microsystems, Inc. All rights reserved.
#  Strings for the tarantella security decryptkey command

security_decryptkey_desc="  decryptkey    Decrypts an encrypted private key"

# Strings for tarantella security decryptkey

sf_decryptkey_usage="Usage: tarantella security decryptkey --enckey <encfile> --deckey <decfile>
  [--format PEM|DER]
 - Decrypts an encrypted private key for use with $PRODUCT_SHORT_NAME.
 - Use \"tarantella security decryptkey --help\" for detailed information."

lf_decryptkey_usage="
tarantella security decryptkey --enckey <enckeyfile> --deckey <deckeyfile>
  [--format PEM|DER]

  Decrypts an encrypted private key for use with $PRODUCT_SHORT_NAME.

  --enckey <enckeyfile>   Names the file containing the encrypted key.
                          Only keys encrypted by a product that uses
                          SSLeay or OpenSSL certificate libraries can
                          be decrypted.
  --deckey <deckeyfile>   Names the file where the decrypted key is to
                          be stored.
  --format PEM|DER        Specifies the format in which the encrypted
                          key is stored (default: PEM).

IMPORTANT: For security reasons, it is very important to restrict access
           to private keys, especially when stored in an unencrypted form.
           Access to private keys by unauthorized users can result in
           a serious security breach. Store private keys accordingly.

For more information, see the $PRODUCT_SHORT_NAME Administration Guide."



l_decrypt_wrong_format="You must specify a format using '--format PEM' or '--format DER'."


l_decrypt_no_encfilename="You must specify the filename of the encrypted key, using '--enckey <file>'"
l_decrypt_encfile_not_exist1="Encrypted key file "
l_decrypt_encfile_not_exist2=" does not exist."

l_decrypt_no_decfilename="You must specify the filename of the decrypted key, using '--deckey <file>'"
l_decrypt_decfile_exists1="Decrypted key file "
l_decrypt_decfile_exists2=" already exists."

l_decrypt_success="Successfully decrypted the encrypted key."
l_decrypt_failure="Unable to decrypt the encrypted key.
Check that the key was encrypted by a product that uses SSLeay or OpenSSL
certificate libraries."
