public interface KeyApi extends Closeable
KeyApi
Modifier and Type | Interface and Description |
---|---|
static class |
KeyApi.ParseKeys |
Modifier and Type | Method and Description |
---|---|
Key |
create(String name,
String key) |
void |
delete(int id) |
void |
delete(String fingerprint) |
Key |
get(int id) |
Key |
get(String fingerprint) |
PagedIterable<Key> |
list() |
IterableWithMarker<Key> |
list(ListOptions options) |
Key |
update(int id,
String name) |
Key |
update(String fingerprint,
String name) |
@Named(value="key:list") PagedIterable<Key> list()
@Named(value="key:list") IterableWithMarker<Key> list(ListOptions options)
@Named(value="key:delete") void delete(int id)
@Named(value="key:delete") void delete(String fingerprint)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.