@Immutable public interface PublicKey extends JsonReadable, JsonPatchable
PublicKey implements JsonReadable, that's how you can get its full
 details in JSON format. For example, to get its title,
 you get the entire JSON and then gets its element:
 
String title = key.json().getString("title");
 However, it's better to use a supplementary "smart" decorator, which automates most of these operations:
String title = new PublicKey.Smart(comment).title();
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
PublicKey.Smart
Smart PublicKey with extra features. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
number()
ID Number of this public key. 
 | 
User | 
user()
User we're in. 
 | 
jsonpatchCopyright © 2012–2014 jcabi.com. All rights reserved.