tools.codec.pkcs
Class SignKey

java.lang.Object
  extended bytools.codec.pkcs.AbstractTool
      extended bytools.codec.pkcs.SignKey

public class SignKey
extends AbstractTool

A mini CA tool that allows to sign one certificate with a given key.

Version:
"$Id: SignKey.java 1913 2007-08-08 02:41:53Z jpeters $"
Author:
Volker Roth

Field Summary
static String DESCR
          The options descriptor.
private static String[] usage_
           
 
Fields inherited from class tools.codec.pkcs.AbstractTool
keystore_, p_
 
Constructor Summary
SignKey()
           
 
Method Summary
protected  int decodeKeyUsageBit(String keyword)
           
protected  ASN1BitString getKeyUsageBits(String[] keywords)
           
static void main(String[] argv)
           
 void run(String[] argv)
           
 
Methods inherited from class tools.codec.pkcs.AbstractTool
getCertificate, getKeyStore, getPrivateKey, loadContentInfo, saveContentInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCR

public static final String DESCR
The options descriptor.

See Also:
Constant Field Values

usage_

private static String[] usage_
Constructor Detail

SignKey

public SignKey()
Method Detail

main

public static void main(String[] argv)

decodeKeyUsageBit

protected int decodeKeyUsageBit(String keyword)

getKeyUsageBits

protected ASN1BitString getKeyUsageBits(String[] keywords)

run

public void run(String[] argv)
         throws Exception
Throws:
Exception


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.