public abstract class Base64EncodedFileFormat extends java.lang.Object implements SshKeyFormatConversion
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
begin |
protected java.lang.String |
end |
| Modifier | Constructor and Description |
|---|---|
protected |
Base64EncodedFileFormat(java.lang.String begin,
java.lang.String end)
Creates a new Base64EncodedFileFormat object.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
formatKey(byte[] keyblob) |
java.lang.String |
getFormatType() |
java.lang.String |
getHeaderValue(java.lang.String headerTag) |
byte[] |
getKeyBlob(byte[] formattedKey) |
boolean |
isFormatted(byte[] formattedKey) |
void |
setHeaderValue(java.lang.String headerTag,
java.lang.String headerValue) |
protected Base64EncodedFileFormat(java.lang.String begin,
java.lang.String end)
begin - end - public java.lang.String getFormatType()
getFormatType in interface SshKeyFormatConversionpublic boolean isFormatted(byte[] formattedKey)
isFormatted in interface SshKeyFormatConversionformattedKey - public void setHeaderValue(java.lang.String headerTag,
java.lang.String headerValue)
headerTag - headerValue - public java.lang.String getHeaderValue(java.lang.String headerTag)
headerTag - public byte[] getKeyBlob(byte[] formattedKey)
throws InvalidSshKeyException
getKeyBlob in interface SshKeyFormatConversionformattedKey - InvalidSshKeyExceptionpublic byte[] formatKey(byte[] keyblob)
formatKey in interface SshKeyFormatConversionkeyblob - Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.