org.apache.commons.ssl
Class PEMUtil

java.lang.Object
  extended byorg.apache.commons.ssl.PEMUtil

public class PEMUtil
extends java.lang.Object

Since:
13-Aug-2006
Author:
Credit Union Central of British Columbia, www.cucbc.com, juliusdavies@cucbc.com

Constructor Summary
PEMUtil()
           
 
Method Summary
static java.util.List decode(byte[] pemBytes)
           
static byte[] encode(java.util.Collection items)
           
static java.lang.String formatBigInteger(java.math.BigInteger bi, int length)
           
static java.lang.String formatRSAPrivateKey(java.security.interfaces.RSAPrivateCrtKey key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PEMUtil

public PEMUtil()
Method Detail

encode

public static byte[] encode(java.util.Collection items)
                     throws java.io.IOException
Throws:
java.io.IOException

decode

public static java.util.List decode(byte[] pemBytes)

formatRSAPrivateKey

public static java.lang.String formatRSAPrivateKey(java.security.interfaces.RSAPrivateCrtKey key)

formatBigInteger

public static java.lang.String formatBigInteger(java.math.BigInteger bi,
                                                int length)


Copyright © 2011. All Rights Reserved.