public class PemObjectReader extends Object
PemObjectReader is a utility class for reading PemObject from a file.| Constructor and Description |
|---|
PemObjectReader() |
| Modifier and Type | Method and Description |
|---|---|
static org.bouncycastle.util.io.pem.PemObject |
getPemObject(File file)
Gets the pem object.
|
static String |
toPemFormat(org.bouncycastle.util.io.pem.PemObject pemObject)
Transform the given
PemObject object in pem format String object. |
public static org.bouncycastle.util.io.pem.PemObject getPemObject(File file) throws IOException
file - the fileIOException - Signals that an I/O exception has occurred.public static String toPemFormat(org.bouncycastle.util.io.pem.PemObject pemObject) throws IOException
PemObject object in pem format String object.pemObject - the pem objectIOException - Signals that an I/O exception has occurred.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.