|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--demo.x509.CRLExtensions
This class tests the implemented X509v2 CRL extensions.
The following X509v2 CRL (entry) extensions are implemented (and tested by this class):
Issuer and issuer private key are read in from a keystore "jce.keystore" located
in the current working directory (if it yet not does exist, please run SetupKeyStore
for creating it.
Constructor Summary | |
CRLExtensions()
|
Method Summary | |
static void |
main(String[] argv)
Starts the CRLExtensions test. |
void |
start()
Creates a new CRL and adds the CRLNumber and ReasonCode
extensions.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CRLExtensions()
Method Detail |
public void start()
CRLNumber
and ReasonCode
extensions.
Issuer and issuer private key are derived from a KeyAndCertificate
structure created from a PEM encoded file "caRSA.pem" located in a "test"
directory. Similary two certificates to be revoked are created from "user1.pem"
respectively "user2.pem" files, again read in from the "test" directory. Run
the CreateCertificates
demo for creating the required structures and
saving them to the files requested above, if they yet not exist.
public static void main(String[] argv) throws IOException
|
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 |