Class OpenSSHKeyV1KeyFile

  • All Implemented Interfaces:
    FileKeyProvider, KeyProvider

    public class OpenSSHKeyV1KeyFile
    extends BaseFileKeyProvider
    Reads a key file in the new OpenSSH format. The format is described in the following document: https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.key
    • Constructor Detail

      • OpenSSHKeyV1KeyFile

        public OpenSSHKeyV1KeyFile()
    • Method Detail

      • readKeyPair

        protected java.security.KeyPair readKeyPair()
                                             throws java.io.IOException
        Specified by:
        readKeyPair in class BaseFileKeyProvider
        Throws:
        java.io.IOException