类 LocalEncryptedDataKeyProcessor

java.lang.Object
com.alibaba.nacos.client.config.impl.LocalConfigInfoProcessor
com.alibaba.nacos.client.config.impl.LocalEncryptedDataKeyProcessor

public class LocalEncryptedDataKeyProcessor extends LocalConfigInfoProcessor
Encrypted data key (EncryptedDataKey) local snapshot, disaster recovery directory related.
作者:
luyanbo(RobberPhex)
  • 构造器详细资料

    • LocalEncryptedDataKeyProcessor

      public LocalEncryptedDataKeyProcessor()
  • 方法详细资料

    • getEncryptDataKeyFailover

      public static String getEncryptDataKeyFailover(String envName, String dataId, String group, String tenant)
      Obtain the EncryptedDataKey of the disaster recovery configuration. NULL means there is no local file or an exception is thrown.
    • getEncryptDataKeySnapshot

      public static String getEncryptDataKeySnapshot(String envName, String dataId, String group, String tenant)
      Get the EncryptedDataKey of the locally cached file. NULL means there is no local file or an exception is thrown.
    • saveEncryptDataKeySnapshot

      public static void saveEncryptDataKeySnapshot(String envName, String dataId, String group, String tenant, String encryptDataKey)
      Save the snapshot of encryptDataKey. If the content is NULL, delete the snapshot.