|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--demo.keystore.IaikKeyStore
Field Summary | |
static int |
DH
|
static int |
DSA
|
static int |
RSA
|
static int |
SZ_1024
|
static int |
SZ_2048
|
static int |
SZ_512
|
Fields inherited from interface demo.keystore.KeyStoreConstants |
CA_DSA, CA_RSA, DH_1024, DH_2048, DH_512, DSA_1024, DSA_2048, DSA_512, KS_FILENAME, KS_PASSWORD, RSA_1024, RSA_2048, RSA_512 |
Constructor Summary | |
IaikKeyStore()
|
Method Summary | |
static X509Certificate |
getCaCertificate(int type)
Returns a demo CA certificate. |
static PrivateKey |
getCaPrivateKey(int type)
Returns the private key of a CA certificate. |
static X509Certificate[] |
getCertificateChain(int type,
int size)
Returns a demo user certificate. |
static PrivateKey |
getPrivateKey(int type,
int size)
Returns the private key of a CA certificate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int RSA
public static final int DSA
public static final int DH
public static final int SZ_512
public static final int SZ_1024
public static final int SZ_2048
Constructor Detail |
public IaikKeyStore()
Method Detail |
public static PrivateKey getPrivateKey(int type, int size)
type
- RSA
or DSA
or DH
size
- SZ_512
or SZ_1024
SZ_2048
public static X509Certificate[] getCertificateChain(int type, int size)
type
- RSA
or DSA
or DH
size
- SZ_512
or SZ_1024
SZ_2048
public static PrivateKey getCaPrivateKey(int type)
type
- RSA
or DSA
public static X509Certificate getCaCertificate(int type)
type
- RSA
or DSA
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |