com.sshtools.j2ssh.transport.publickey
Interface SshKeyFormatConversion

All Known Implementing Classes:
Base64EncodedFileFormat, SECSHPublicKeyFormat, SshtoolsPrivateKeyFormat

public interface SshKeyFormatConversion

Version:
$Revision: 1.16 $
Author:
$author$

Method Summary
 byte[] formatKey(byte[] keyBlob)
           
 java.lang.String getFormatType()
           
 byte[] getKeyBlob(byte[] formattedKey)
           
 boolean isFormatted(byte[] formattedKey)
           
 

Method Detail

getFormatType

java.lang.String getFormatType()
Returns:

getKeyBlob

byte[] getKeyBlob(byte[] formattedKey)
                  throws InvalidSshKeyException
Parameters:
formattedKey -
Returns:
Throws:
InvalidSshKeyException

formatKey

byte[] formatKey(byte[] keyBlob)
Parameters:
keyBlob -
Returns:

isFormatted

boolean isFormatted(byte[] formattedKey)
Parameters:
formattedKey -
Returns:


Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.