https://mina.apache.org/sshd-project/apidocs/org/apache/sshd/common/util/SecurityUtils.html
Can you point me to that method in the docs? I'm not seeing it there... On Fri, Oct 30, 2015 at 5:59 PM, Guillaume Nodet <gno...@apache.org> wrote: > You can try with > SecurityUtils.loadKeyPairIdentity > > 2015-10-30 17:36 GMT+01:00 Jonathan S. Fisher < > jonat...@springventuregroup.com>: > > > Hey guys, > > > > I've been pouring through examples and source code, and I cannot figure > out > > how to do this. I have a pair of Strings that is the contents of a user's > > id_ecdsa and id_ecdsa.pub. The private key is encrypted. > > > > Is there not a conversion utility class to go from OpenSSH to a KeyPair > > anywhere? If not, what would be the shortest steps to write one? I > noticed > > the Buffer class and the SecurityUtils, but they don't seem to handle > > encryption. > > > > Thanks, > > -Jonathan > > > > -- > > Email Confidentiality Notice: The information contained in this > > transmission is confidential, proprietary or privileged and may be > subject > > to protection under the law, including the Health Insurance Portability > and > > Accountability Act (HIPAA). The message is intended for the sole use of > the > > individual or entity to whom it is addressed. If you are not the intended > > recipient, you are notified that any use, distribution or copying of the > > message is strictly prohibited and may subject you to criminal or civil > > penalties. If you received this transmission in error, please contact the > > sender immediately by replying to this email and delete the material from > > any computer. > > > -- Email Confidentiality Notice: The information contained in this transmission is confidential, proprietary or privileged and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act (HIPAA). The message is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, distribution or copying of the message is strictly prohibited and may subject you to criminal or civil penalties. If you received this transmission in error, please contact the sender immediately by replying to this email and delete the material from any computer.