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.StringgetComment()java.lang.StringgetFormatType()voidsetComment(java.lang.String comment)booleansupportsAlgorithm(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:
setCommentin interfaceSshPublicKeyFormat- Parameters:
comment-
-
getComment
public java.lang.String getComment()
- Specified by:
getCommentin interfaceSshPublicKeyFormat- Returns:
-
getFormatType
public java.lang.String getFormatType()
- Specified by:
getFormatTypein interfaceSshKeyFormatConversion- Specified by:
getFormatTypein interfaceSshPublicKeyFormat- Overrides:
getFormatTypein classBase64EncodedFileFormat- Returns:
-
supportsAlgorithm
public boolean supportsAlgorithm(java.lang.String algorithm)
- Specified by:
supportsAlgorithmin interfaceSshPublicKeyFormat- Parameters:
algorithm-- Returns:
-
-