クラス VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder

java.lang.ObjectSE
org.springframework.vault.support.VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder
含まれているクラス:
VaultTransitKeyConfiguration

public static class VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder extends ObjectSE
VaultTransitKeyConfiguration のビルダー。
  • メソッドの詳細

    • deletionAllowed

      public VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder deletionAllowed(boolean deletionAllowed)
      キーの削除を許可するかどうかを設定します。
      パラメーター:
      deletionAllowed - キーの削除を許可する場合は true。
      戻り値:
      このビルダー。
    • minDecryptionVersion

      public VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder minDecryptionVersion(int minDecryptionVersion)
      復号化できる暗号文の最小バージョンを指定します。これをキーローテーションポリシーの一部として調整することで、暗号文の古いコピーが悪意のある人の手に渡った場合に復号化されるのを防ぐことができます。署名の場合、この値は検証できる署名の最小バージョンを制御します。HMAC の場合、これは検証用のキーとして使用できるキーの最小バージョンを制御します。
      パラメーター:
      minDecryptionVersion - キーバージョン。
      戻り値:
      このビルダー。
      導入:
      1.1
    • minEncryptionVersion

      public VaultTransitKeyConfiguration.VaultTransitKeyConfigurationBuilder minEncryptionVersion(int minEncryptionVersion)
      プレーンテキストの暗号化、ペイロードの署名、HMAC の生成に使用できるキーの最小バージョンを指定します。0 (最新バージョンを使用) または minDecryptionVersion(int) 以上の値でなければなりません。
      パラメーター:
      minEncryptionVersion - キーバージョン。
      戻り値:
      このビルダー。
      導入:
      1.1
    • build

      新しい VaultTransitKeyConfiguration インスタンスを作成します。
      戻り値:
      新しい VaultTransitKeyConfiguration