ch.ethz.ssh2.crypto
Class PEMDecoder

java.lang.Object
  extended by ch.ethz.ssh2.crypto.PEMDecoder

public class PEMDecoder
extends Object

PEM Support.

Version:
$Id$
Author:
Christian Plattner

Constructor Summary
PEMDecoder()
           
 
Method Summary
static Object decode(char[] pem, String password)
           
static boolean isPEMEncrypted(char[] pem)
           
static boolean isPEMEncrypted(PEMStructure ps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PEMDecoder

public PEMDecoder()
Method Detail

isPEMEncrypted

public static final boolean isPEMEncrypted(PEMStructure ps)
                                    throws IOException
Throws:
IOException

isPEMEncrypted

public static final boolean isPEMEncrypted(char[] pem)
                                    throws IOException
Throws:
IOException

decode

public static Object decode(char[] pem,
                            String password)
                     throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.