public class PubSecKeyOptions extends Object
| Constructor and Description |
|---|
PubSecKeyOptions()
Default constructor
|
PubSecKeyOptions(JsonObject json)
Constructor to create an options from JSON
|
PubSecKeyOptions(PubSecKeyOptions other)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
PubSecKeyOptions |
addX509Certificate(String certificate) |
String |
getPublicKey() |
String |
getSecretKey() |
String |
getType() |
List<String> |
getX509Certificates() |
PubSecKeyOptions |
setPublicKey(String publicKey) |
PubSecKeyOptions |
setSecretKey(String secretKey) |
PubSecKeyOptions |
setType(String type) |
PubSecKeyOptions |
setX509Certificates(List<String> certificates) |
public PubSecKeyOptions()
public PubSecKeyOptions(PubSecKeyOptions other)
other - the options to copypublic PubSecKeyOptions(JsonObject json)
json - the JSONpublic String getType()
public PubSecKeyOptions setType(String type)
public String getPublicKey()
public PubSecKeyOptions setPublicKey(String publicKey)
public String getSecretKey()
public PubSecKeyOptions setSecretKey(String secretKey)
public PubSecKeyOptions setX509Certificates(List<String> certificates)
public PubSecKeyOptions addX509Certificate(String certificate)
Copyright © 2017. All rights reserved.