public class SshKeysProvider extends Object
Constructor and Description |
---|
SshKeysProvider() |
Modifier and Type | Method and Description |
---|---|
Pair<String,String> |
getRsaOpenSshKeyPair(String userComment)
Provides freshly generated 2048-bit RSA key pair.
|
public SshKeysProvider() throws NoSuchProviderException, NoSuchAlgorithmException
public Pair<String,String> getRsaOpenSshKeyPair(String userComment) throws InvalidKeySpecException, IOException
userComment
- comment added to public keyInvalidKeySpecException
IOException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.