com.sshtools.publickey
Class Base64EncodedFileFormat

java.lang.Object
  extended bycom.sshtools.publickey.Base64EncodedFileFormat

public abstract class Base64EncodedFileFormat
extends java.lang.Object

Author:
Lee David Painter

Field Summary
protected  java.lang.String begin
           
protected  java.lang.String end
           
 
Constructor Summary
protected Base64EncodedFileFormat(java.lang.String begin, java.lang.String end)
           
 
Method Summary
protected  byte[] formatKey(byte[] keyblob)
           
 java.lang.String getHeaderValue(java.lang.String headerTag)
           
protected  byte[] getKeyBlob(byte[] formattedKey)
           
static boolean isFormatted(byte[] formattedKey, java.lang.String begin, java.lang.String end)
           
 void setHeaderValue(java.lang.String headerTag, java.lang.String headerValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

begin

protected java.lang.String begin

end

protected java.lang.String end
Constructor Detail

Base64EncodedFileFormat

protected Base64EncodedFileFormat(java.lang.String begin,
                                  java.lang.String end)
Method Detail

isFormatted

public static boolean isFormatted(byte[] formattedKey,
                                  java.lang.String begin,
                                  java.lang.String end)

setHeaderValue

public void setHeaderValue(java.lang.String headerTag,
                           java.lang.String headerValue)

getHeaderValue

public java.lang.String getHeaderValue(java.lang.String headerTag)

getKeyBlob

protected byte[] getKeyBlob(byte[] formattedKey)
                     throws java.io.IOException
Throws:
java.io.IOException

formatKey

protected byte[] formatKey(byte[] keyblob)
                    throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003 3SP LTD. All Rights Reserved.