|
JMRTD 0.4.5b | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmrtd.PassportCertificateGenerator
public class PassportCertificateGenerator
FIXME: Should this class still be here? Move it to passporthostapi-test project? -- MO
| Field Summary | |
|---|---|
static String |
filenameCA
|
static String |
filenameKey
|
static String |
filenameTerminal
|
| Constructor Summary | |
|---|---|
PassportCertificateGenerator()
|
|
| Method Summary | |
|---|---|
static byte[] |
loadFile(File file)
Reads the byte data from a file. |
static byte[] |
loadFile(String path)
Reads the byte data from a file. |
static void |
main(String[] args)
|
static org.ejbca.cvc.CVCertificate |
readCVCertificateFromFile(File f)
|
static void |
writeFile(File file,
byte[] data)
Writes raw data to a file. |
static void |
writeFile(String path,
byte[] data)
Writes raw data to a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String filenameCA
public static final String filenameTerminal
public static final String filenameKey
| Constructor Detail |
|---|
public PassportCertificateGenerator()
| Method Detail |
|---|
public static void main(String[] args)
public static org.ejbca.cvc.CVCertificate readCVCertificateFromFile(File f)
public static byte[] loadFile(String path)
throws IOException
path - the path to the file
IOException - if there are problems
public static byte[] loadFile(File file)
throws IOException
file - the file object to read data from
IOException - if there are problems
public static void writeFile(String path,
byte[] data)
throws IOException
path - path to the file to be written (no overwrite checks!)data - raw data to be written
IOException - if something goes wrong
public static void writeFile(File file,
byte[] data)
throws IOException
file - the file object to be written (no overwrite checks!)data - raw data to be written
IOException - if something goes wrong
|
JMRTD 0.4.5b | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||