public class PEMUtils extends Object
Modifier and Type | Field | Description |
---|---|---|
static String |
lineSep |
|
static byte[] |
lineSepBytes |
Constructor | Description |
---|---|
PEMUtils() |
Modifier and Type | Method | Description |
---|---|---|
static String |
toHex(byte[] b) |
Return a hexadecimal representation of a byte array
|
static void |
writeBase64(OutputStream out,
String header,
byte[] base64Data,
String footer) |
public static final String lineSep
public static final byte[] lineSepBytes
public static void writeBase64(OutputStream out, String header, byte[] base64Data, String footer) throws IOException
IOException
public static final String toHex(byte[] b)
b
- a byte arrayCopyright © 2018. All rights reserved.