public class PemUtils extends Object
| Constructor and Description |
|---|
PemUtils() |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
convertPemToDer(File certificateFile)
Reads and decodes a PEM certificate into a DER certificate.
|
static boolean |
isPem(File file) |
public static boolean isPem(File file) throws IOException
IOExceptionpublic static InputStream convertPemToDer(File certificateFile) throws IOException
certificateFile - IOException - if the input stream is closed or some other I/O error occurs.Copyright © 2015. All rights reserved.