public class PEMUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
lineSep |
static byte[] |
lineSepBytes |
Constructor and Description |
---|
PEMUtils() |
Modifier and Type | Method and 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 © 2016. All rights reserved.