public class PubSecKeyOptions extends Object
Constructor and Description |
---|
PubSecKeyOptions()
Default constructor
|
PubSecKeyOptions(io.vertx.core.json.JsonObject json)
Constructor to create an options from JSON
|
PubSecKeyOptions(PubSecKeyOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
String |
getPublicKey() |
String |
getSecretKey() |
boolean |
isCertificate() |
boolean |
isSymmetric() |
PubSecKeyOptions |
setAlgorithm(String algorithm) |
PubSecKeyOptions |
setCertificate(boolean certificate) |
PubSecKeyOptions |
setPublicKey(String publicKey) |
PubSecKeyOptions |
setSecretKey(String secretKey) |
PubSecKeyOptions |
setSymmetric(boolean symmetric) |
public PubSecKeyOptions()
public PubSecKeyOptions(PubSecKeyOptions other)
other
- the options to copypublic PubSecKeyOptions(io.vertx.core.json.JsonObject json)
json
- the JSONpublic String getAlgorithm()
public PubSecKeyOptions setAlgorithm(String algorithm)
public String getPublicKey()
public PubSecKeyOptions setPublicKey(String publicKey)
public String getSecretKey()
public PubSecKeyOptions setSecretKey(String secretKey)
public boolean isSymmetric()
public PubSecKeyOptions setSymmetric(boolean symmetric)
public boolean isCertificate()
public PubSecKeyOptions setCertificate(boolean certificate)
Copyright © 2019 Eclipse. All rights reserved.