@Immutable public interface PublicKeys
Modifier and Type | Method and Description |
---|---|
PublicKey |
create(String title,
String key)
Create a public key.
|
PublicKey |
get(int number)
Get a single public key.
|
Iterable<PublicKey> |
iterate()
Iterate all public keys.
|
void |
remove(int number)
Remove a public key.
|
User |
user()
User we're in.
|
User user()
Iterable<PublicKey> iterate()
PublicKey get(int number)
number
- ID of the public key to remove.PublicKey create(String title, String key) throws IOException
title
- The title of this key.key
- The value of this key.IOException
- If an IO problem occurs.void remove(int number) throws IOException
number
- ID of the public key to remove.IOException
- If an IO problem occurs.Copyright © 2012–2018 jcabi.com. All rights reserved.