∟Reading and Writing Certificates in DER and RFC Formats
This section provides test results of using my JcaCertificateTest.java program to read in certificates in DER and RFC formats. Those certificates are generated with the 'keytool' command tool.
Here is the result of my first test of my JcaCertificateTest.java program.
This test requires the certificate file generated by the "keytool" command described in the previous chapter.
This test is done with JDK 1.3.1.
The input certificate file was created by "keytool", see the previous
chapter for details. It was written in a binary format (DER).
The program can also be used to read in certificate files written in printable
format (RFC). Assuming my_home.rfc is a certificate file created by "keytool"
in RFC format, the following command will read in the certificate in my_home.rfc
without any problem: