Interface SshKeyFormatConversion

All Known Implementing Classes:
Base64EncodedFileFormat, SECSHPublicKeyFormat, SshtoolsPrivateKeyFormat

public interface SshKeyFormatConversion
Version:
$Revision: 1.16 $
Author:
$author$
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    formatKey(byte[] keyBlob)
     
     
    byte[]
    getKeyBlob(byte[] formattedKey)
     
    boolean
    isFormatted(byte[] formattedKey)
     
  • Method Details

    • getFormatType

      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: