@Immutable public interface PublicKey extends JsonReadable, JsonPatchable
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|
Smart PublicKey with extra features.
|Modifier and Type||Method and Description|
ID Number of this public key.
User we're in.
Copyright © 2012–2018 jcabi.com. All rights reserved.