Class PubSecKeyOptions
java.lang.Object
io.vertx.ext.auth.PubSecKeyOptions
Options describing Key stored in PEM format.
- Author:
- Paulo Lopes
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorPubSecKeyOptions(JsonObject json) Constructor to create an options from JSONPubSecKeyOptions(PubSecKeyOptions other) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptionThe PEM or Secret key buffer.getId()setAlgorithm(String algorithm) The PEM or Secret key buffer.The PEM or Secret key buffer.toJson()
-
Constructor Details
-
PubSecKeyOptions
public PubSecKeyOptions()Default constructor -
PubSecKeyOptions
Copy constructor- Parameters:
other- the options to copy
-
PubSecKeyOptions
Constructor to create an options from JSON- Parameters:
json- the JSON
-
-
Method Details
-
toJson
-
getAlgorithm
-
setAlgorithm
-
getBuffer
The PEM or Secret key buffer. When working with secret materials, the material is expected to be encoded inUTF-8. PEM files are expected to beUS_ASCIIas the format uses a base64 encoding for the payload.- Returns:
- the buffer.
-
setBuffer
The PEM or Secret key buffer. When working with secret materials, the material is expected to be encoded inUTF-8. PEM files are expected to beUS_ASCIIas the format uses a base64 encoding for the payload.- Returns:
- self.
-
setBuffer
The PEM or Secret key buffer. When working with secret materials, the material is expected to be encoded inUTF-8. PEM files are expected to beUS_ASCIIas the format uses a base64 encoding for the payload.- Returns:
- self.
-
getId
-
setId
-