Class OpenSSHKeyFileUtil


  • public class OpenSSHKeyFileUtil
    extends java.lang.Object
    • Constructor Detail

      • OpenSSHKeyFileUtil

        private OpenSSHKeyFileUtil()
    • 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