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