java.lang.Object
de.stklcode.jvault.connector.model.response.SealResponse
All Implemented Interfaces:
VaultResponse, Serializable

public final class SealResponse extends Object implements VaultResponse
Vault response for seal status or unseal request.
Since:
0.1
Author:
Stefan Kalscheuer
See Also:
  • Constructor Details

    • SealResponse

      public SealResponse()
  • Method Details

    • getType

      public String 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

      public Integer getThreshold()
      Returns:
      Required threshold of secret shares
    • getNumberOfShares

      public Integer getNumberOfShares()
      Returns:
      Number of secret shares
    • getProgress

      public Integer getProgress()
      Returns:
      Current unseal progress (remaining required shares)
    • getVersion

      public String getVersion()
      Returns:
      Vault version.
      Since:
      0.8
    • getNonce

      public String getNonce()
      Returns:
      A random nonce.
      Since:
      0.8
    • getClusterName

      public String getClusterName()
      Returns:
      Vault cluster name (only if unsealed).
      Since:
      0.8
    • getClusterId

      public String getClusterId()
      Returns:
      Vault cluster ID (only if unsealed).
      Since:
      0.8
    • getMigration

      public Boolean getMigration()
      Returns:
      Migration status (since Vault 1.4)
      Since:
      1.1
    • getRecoverySeal

      public Boolean getRecoverySeal()
      Returns:
      Recovery seal status.
      Since:
      1.1
    • getStorageType

      public String getStorageType()
      Returns:
      Storage type (since Vault 1.3).
      Since:
      1.1
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object