Package com.atlassian.bamboo.utils
Interface SshKeysProvider
-
- All Known Implementing Classes:
Ed25518KeysProvider
,RsaOpenSshKeysProvider
public interface SshKeysProvider
Provides a ssh key pair compatible with OpenSsh.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SshKeysProvider.KeyPair
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SshKeysProvider.KeyPair
getKeyPair(String userComment)
-
-
-
Method Detail
-
getKeyPair
SshKeysProvider.KeyPair getKeyPair(String userComment) throws KeyGenerationException
- Parameters:
userComment
- - comment added to the public key- Returns:
- a key pair
- Throws:
KeyGenerationException
- if key generation fails
-
-