public class PEMReader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CERTIFICATE_X509_MARKER |
static String |
PRIVATE_PKCS1_MARKER |
static String |
PRIVATE_PKCS8_MARKER |
static String |
PUBLIC_X509_MARKER |
Constructor and Description |
---|
PEMReader(byte[] buffer) |
PEMReader(InputStream inStream) |
PEMReader(String fileName) |
Modifier and Type | Method and Description |
---|---|
String |
getBeginMarker() |
byte[] |
getDerBytes() |
protected void |
readFile()
Read the PEM file and save the DER encoded octet
stream and begin marker.
|
public static final String PRIVATE_PKCS1_MARKER
public static final String PRIVATE_PKCS8_MARKER
public static final String CERTIFICATE_X509_MARKER
public static final String PUBLIC_X509_MARKER
public PEMReader(InputStream inStream) throws IOException
IOException
public PEMReader(byte[] buffer) throws IOException
IOException
public PEMReader(String fileName) throws IOException
IOException
public byte[] getDerBytes()
public String getBeginMarker()
protected void readFile() throws IOException
IOException
Copyright © 2019 JBoss by Red Hat. All rights reserved.