|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.post.security.ca.CAKeyGenerator
public class CAKeyGenerator
This class starts generates a new keypair for the certificate authority, asks for a password, and encrypts the keypair under the hash of the password into the provided filename.
| Field Summary | |
|---|---|
static int |
MIN_PASSWORD_LENGTH
The minimum length of a password. |
| Constructor Summary | |
|---|---|
CAKeyGenerator()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
fetchPassword(java.lang.String prompt)
DESCRIBE THE METHOD |
static java.lang.String |
getPassword()
Returns a echo-off password from the command line |
static void |
main(java.lang.String[] args)
The main program for the CertificateAuthorityKeyGenerator class |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int MIN_PASSWORD_LENGTH
| Constructor Detail |
|---|
public CAKeyGenerator()
| Method Detail |
|---|
public static java.lang.String getPassword()
throws java.io.IOException
java.io.IOException - DESCRIBE THE EXCEPTION
public static java.lang.String fetchPassword(java.lang.String prompt)
throws java.io.IOException
prompt - DESCRIBE THE PARAMETER
java.io.IOException - DESCRIBE THE EXCEPTIONpublic static void main(java.lang.String[] args)
args - The command line arguments
|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||