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