Class SECSHPublicKeyFormat
- java.lang.Object
-
- com.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat
-
- com.sshtools.j2ssh.transport.publickey.SECSHPublicKeyFormat
-
- All Implemented Interfaces:
SshKeyFormatConversion
,SshPublicKeyFormat
public class SECSHPublicKeyFormat extends Base64EncodedFileFormat implements SshPublicKeyFormat
- Version:
- $Revision: 1.16 $
- Author:
- $author$
-
-
Field Summary
-
Fields inherited from class com.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat
begin, end
-
-
Constructor Summary
Constructors Constructor Description SECSHPublicKeyFormat()
Creates a new SECSHPublicKeyFormat object.SECSHPublicKeyFormat(java.lang.String subject, java.lang.String comment)
Creates a new SECSHPublicKeyFormat object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getComment()
java.lang.String
getFormatType()
void
setComment(java.lang.String comment)
boolean
supportsAlgorithm(java.lang.String algorithm)
-
Methods inherited from class com.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat
formatKey, getHeaderValue, getKeyBlob, isFormatted, setHeaderValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sshtools.j2ssh.transport.publickey.SshPublicKeyFormat
formatKey, getKeyBlob, isFormatted
-
-
-
-
Method Detail
-
setComment
public void setComment(java.lang.String comment)
- Specified by:
setComment
in interfaceSshPublicKeyFormat
- Parameters:
comment
-
-
getComment
public java.lang.String getComment()
- Specified by:
getComment
in interfaceSshPublicKeyFormat
- Returns:
-
getFormatType
public java.lang.String getFormatType()
- Specified by:
getFormatType
in interfaceSshKeyFormatConversion
- Specified by:
getFormatType
in interfaceSshPublicKeyFormat
- Overrides:
getFormatType
in classBase64EncodedFileFormat
- Returns:
-
supportsAlgorithm
public boolean supportsAlgorithm(java.lang.String algorithm)
- Specified by:
supportsAlgorithm
in interfaceSshPublicKeyFormat
- Parameters:
algorithm
-- Returns:
-
-