public class

PEMDecoder

extends Object
java.lang.Object
   ↳ com.trilead.ssh2.crypto.PEMDecoder

Class Overview

PEM Support.

Summary

Constants
int PEM_DSA_PRIVATE_KEY
int PEM_RSA_PRIVATE_KEY
Public Constructors
PEMDecoder()
Public Methods
static Object decode(PEMStructure ps, String password)
static Object decode(char[] pem, String password)
final static boolean isPEMEncrypted(PEMStructure ps)
final static PEMStructure parsePEM(char[] pem)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final int PEM_DSA_PRIVATE_KEY

Constant Value: 2 (0x00000002)

private static final int PEM_RSA_PRIVATE_KEY

Constant Value: 1 (0x00000001)

Public Constructors

public PEMDecoder ()

Public Methods

public static Object decode (PEMStructure ps, String password)

Parameters
ps
password
Throws
IOException

public static Object decode (char[] pem, String password)

Parameters
pem
password
Throws
IOException

public static final boolean isPEMEncrypted (PEMStructure ps)

Parameters
ps
Throws
IOException

public static final PEMStructure parsePEM (char[] pem)

Parameters
pem
Throws
IOException