|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.frame4j.util.App
de.frame4j.PKextr
@MinDoc(copyright="Copyright 2004, 2008 , 2009 A. Weinert",
author="Albrecht Weinert",
version="V.21",
lastModified="12.02.2010",
lastModifiedBy="A. Weinert",
usage="start as Java application (-? for help)",
purpose="extract keys from keystores or certificates")
public class PKextr
Determine / extract public key from keystore or certificate.
This Java application extracts a public key from a
AskDialog window. The user's password entry
will not be visible / readable.App.log).
Additionally a binary public key file may be output, from which the key
can be read / regenerated by standard JAva means.PKextr
(source) belongs
a .properties file
PKextr.properties
that may be considered as part of the documentation and may
answer open questions.
App| Field Summary | |
|---|---|
String |
certFileName
Name of input file (certificate or keystore). |
String |
certType
Type of certificate / keystore. |
boolean |
exportPrivate
Export the private instead of the public key. |
boolean |
fromCert
Read from certificate not from keystore. |
protected String |
keyAlias
Alias name for key from keystore. |
protected String |
pubKeyFil
Output file for the public key. |
String |
storePassW
Password for the keystore. |
String |
w0
Word parameter 1 and 2. |
String |
w1
Word parameter 1 and 2. |
| Fields inherited from class de.frame4j.util.App |
|---|
ano, appBase, appIO, appStartTime, args, bgColor, err, fullClassName, help, icon, INIT_ERROR, jmxRemoteNote, JOB_DONE_OK, log, LOG_OUT_ERROR, MAIN_THREAD_EXC, mainThread, myClass, myFrame, name, NO_PARS_ERROR, objectName, out, outMode, packName, prop, retCode, runFlag, shortClassName, title, verbose, verbosity |
| Fields inherited from interface de.frame4j.net.AttrSettable |
|---|
ILLEGAL_TYPE, ILLEGAL_VALUE, NO_ATTRIBUTE, NO_KNOWN_ATTRIBUTE, NO_VALUE, OK |
| Constructor Summary | |
|---|---|
PKextr()
|
|
| Method Summary | |
|---|---|
int |
doIt()
Working method of PKextr. |
static void |
main(String[] args)
Start method of PKextr. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String pubKeyFil
public String certType
public boolean fromCert
certTypepublic boolean exportPrivate
public String certFileName
public String storePassW
protected String keyAlias
public String w0
public String w1
| Constructor Detail |
|---|
public PKextr()
| Method Detail |
|---|
public static void main(String[] args)
args - command line parameter public int doIt()
doIt in class AppProp,
App.go(String[], boolean),
App.go(String[], String, boolean, CharSequence),
App.mainThread
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||