Module de.stklcode.jvault.connector
Class SealResponse
java.lang.Object
de.stklcode.jvault.connector.model.response.SealResponse
- All Implemented Interfaces:
VaultResponse
,Serializable
Vault response for seal status or unseal request.
- Since:
- 0.1
- Author:
- Stefan Kalscheuer
- See Also:
-
Constructor Details
-
SealResponse
public SealResponse()
-
-
Method Details
-
getType
- Returns:
- Seal type.
- Since:
- 0.8
-
isSealed
public boolean isSealed()- Returns:
- Seal status
-
isInitialized
public boolean isInitialized()- Returns:
- Vault initialization status (since Vault 0.11.2).
- Since:
- 0.8
-
getThreshold
- Returns:
- Required threshold of secret shares
-
getProgress
- Returns:
- Current unseal progress (remaining required shares)
-
getVersion
- Returns:
- Vault version.
- Since:
- 0.8
-
getNonce
- Returns:
- A random nonce.
- Since:
- 0.8
-
getClusterName
- Returns:
- Vault cluster name (only if unsealed).
- Since:
- 0.8
-
getClusterId
- Returns:
- Vault cluster ID (only if unsealed).
- Since:
- 0.8
-
getMigration
- Returns:
- Migration status (since Vault 1.4)
- Since:
- 1.1
-
getRecoverySeal
- Returns:
- Recovery seal status.
- Since:
- 1.1
-
getStorageType
- Returns:
- Storage type (since Vault 1.3).
- Since:
- 1.1
-
equals
-
hashCode
public int hashCode()
-