Class Base64EncodedFileFormat

java.lang.Object
com.sshtools.common.publickey.Base64EncodedFileFormat
Direct Known Subclasses:
SECSHPublicKeyFile

public abstract class Base64EncodedFileFormat extends Object
Author:
Lee David Painter
  • Field Details

  • Constructor Details

    • Base64EncodedFileFormat

      protected Base64EncodedFileFormat(String begin, String end)
  • Method Details

    • isFormatted

      public static boolean isFormatted(byte[] formattedKey, String begin, String end)
    • setHeaderValue

      public void setHeaderValue(String headerTag, String headerValue)
    • getHeaderValue

      public String getHeaderValue(String headerTag)
    • getKeyBlob

      protected byte[] getKeyBlob(byte[] formattedKey) throws IOException
      Throws:
      IOException
    • formatKey

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