Class OpenSSHKeyFileUtil


  • public class OpenSSHKeyFileUtil
    extends java.lang.Object
    • Method Summary

      Modifier and Type Method Description
      static java.io.File getPublicKeyFile​(java.io.File privateKeyFile)  
      static OpenSSHKeyFileUtil.ParsedPubKey initPubKey​(java.io.Reader publicKey)
      Read the separate public key provided alongside the private key
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getPublicKeyFile

        public static java.io.File getPublicKeyFile​(java.io.File privateKeyFile)
      • initPubKey

        public static OpenSSHKeyFileUtil.ParsedPubKey initPubKey​(java.io.Reader publicKey)
                                                          throws java.io.IOException
        Read the separate public key provided alongside the private key
        Parameters:
        publicKey - Public key accessible through a Reader
        Throws:
        java.io.IOException