public interface SSHKeyEditorService
Modifier and Type | Method and Description |
---|---|
void |
addKey(String name,
String keyContent)
Adds a new SSh Key into the
SSHKeyStore for the current user. |
void |
deleteKey(PortableSSHPublicKey key)
Deletes the given
PortableSSHPublicKey for the current user |
Collection<PortableSSHPublicKey> |
getUserKeys()
Retrieves all the
PortableSSHPublicKey for the current user. |
Collection<PortableSSHPublicKey> getUserKeys()
PortableSSHPublicKey
for the current user.void deleteKey(PortableSSHPublicKey key)
PortableSSHPublicKey
for the current userkey
- The PortableSSHPublicKey
to addvoid addKey(String name, String keyContent)
SSHKeyStore
for the current user.name
- The name of the keykeyContent
- The PublicKey
as String format.Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.