public final class PEMUtil extends Object
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 LINE_SEP
public static void writeBase64(OutputStream out, String header, byte[] base64Data, String footer) throws IOException
IOException
public static String toHex(byte[] b)
b
- a byte arrayCopyright © 2016. All rights reserved.