public class SECSHPublicKeyFormat extends Base64EncodedFileFormat implements SshPublicKeyFormat
begin, end
Constructor and Description |
---|
SECSHPublicKeyFormat()
Creates a new SECSHPublicKeyFormat object.
|
SECSHPublicKeyFormat(java.lang.String subject,
java.lang.String comment)
Creates a new SECSHPublicKeyFormat object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment() |
java.lang.String |
getFormatType() |
void |
setComment(java.lang.String comment) |
boolean |
supportsAlgorithm(java.lang.String algorithm) |
formatKey, getHeaderValue, getKeyBlob, isFormatted, setHeaderValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
formatKey, getKeyBlob, isFormatted
public SECSHPublicKeyFormat(java.lang.String subject, java.lang.String comment)
subject
- comment
- public SECSHPublicKeyFormat()
public void setComment(java.lang.String comment)
setComment
in interface SshPublicKeyFormat
comment
- public java.lang.String getComment()
getComment
in interface SshPublicKeyFormat
public java.lang.String getFormatType()
getFormatType
in interface SshKeyFormatConversion
getFormatType
in interface SshPublicKeyFormat
getFormatType
in class Base64EncodedFileFormat
public boolean supportsAlgorithm(java.lang.String algorithm)
supportsAlgorithm
in interface SshPublicKeyFormat
algorithm
- Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.