Package org.globus.gsi.util
Class PEMUtil
- java.lang.Object
-
- org.globus.gsi.util.PEMUtil
-
public final class PEMUtil extends Object
Fill Me
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
toHex(byte[] b)
Return a hexadecimal representation of a byte arraystatic void
writeBase64(OutputStream out, String header, byte[] base64Data, String footer)
-
-
-
Field Detail
-
LINE_SEP
public static final String LINE_SEP
-
-
Method Detail
-
writeBase64
public static void writeBase64(OutputStream out, String header, byte[] base64Data, String footer) throws IOException
- Throws:
IOException
-
toHex
public static String toHex(byte[] b)
Return a hexadecimal representation of a byte array- Parameters:
b
- a byte array- Returns:
- String containing the hexadecimal representation
-
-