- java.lang.Object
-
- io.github.jopenlibs.vault.response.VaultResponse
-
- io.github.jopenlibs.vault.response.LogicalResponse
-
- io.github.jopenlibs.vault.response.PkiResponse
-
- All Implemented Interfaces:
java.io.Serializable
public class PkiResponse extends LogicalResponse
This class is a container for the information returned by Vault in PKI backend API operations (e.g. create/delete roles, issue credentials).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PkiResponse(RestResponse restResponse, int retries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Credential
getCredential()
RoleOptions
getRoleOptions()
-
Methods inherited from class io.github.jopenlibs.vault.response.LogicalResponse
getData, getDataObject, getLeaseDuration, getLeaseId, getListData, getRenewable
-
Methods inherited from class io.github.jopenlibs.vault.response.VaultResponse
getRestResponse, getRetries
-
-
-
-
Constructor Detail
-
PkiResponse
public PkiResponse(RestResponse restResponse, int retries)
- Parameters:
restResponse
- The raw response received from Vaultretries
- The number of retries that were performed for this operation
-
-
Method Detail
-
getRoleOptions
public RoleOptions getRoleOptions()
-
getCredential
public Credential getCredential()
-
-