Package com.trilead.ssh2.crypto
Class CertificateDecoder
- java.lang.Object
-
- com.trilead.ssh2.crypto.CertificateDecoder
-
- Direct Known Subclasses:
DSAKeyAlgorithm.DsaCertificateDecoder
,ECDSAKeyAlgorithm.EcdsaCertificateDecoder
,OpenSshCertificateDecoder
,RSAKeyAlgorithm.RSACertificateDecoder
public abstract class CertificateDecoder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CertificateDecoder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.security.KeyPair
createKeyPair(PEMStructure pemStructure)
java.security.KeyPair
createKeyPair(PEMStructure pemStructure, java.lang.String password)
abstract java.lang.String
getEndLine()
abstract java.lang.String
getStartLine()
-
-
-
Method Detail
-
getStartLine
public abstract java.lang.String getStartLine()
-
getEndLine
public abstract java.lang.String getEndLine()
-
createKeyPair
public java.security.KeyPair createKeyPair(PEMStructure pemStructure, java.lang.String password) throws java.io.IOException
- Throws:
java.io.IOException
-
createKeyPair
protected abstract java.security.KeyPair createKeyPair(PEMStructure pemStructure) throws java.io.IOException
- Throws:
java.io.IOException
-
-