com.sshtools.j2ssh.transport.publickey

Interface SshKeyFormatConversion

Known Implementing Classes:
Base64EncodedFileFormat, SECSHPublicKeyFormat, SshtoolsPrivateKeyFormat

public interface SshKeyFormatConversion

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

Method Summary

byte[]
formatKey(byte[] keyBlob)
String
getFormatType()
byte[]
getKeyBlob(byte[] formattedKey)
boolean
isFormatted(byte[] formattedKey)

Method Details

formatKey

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

getFormatType

public String getFormatType()
Returns:

getKeyBlob

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

isFormatted

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

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