类 StaticEncryptionMaterialsProvider

    • 构造器详细资料

      • StaticEncryptionMaterialsProvider

        public StaticEncryptionMaterialsProvider​(EncryptionMaterials materials)
    • 方法详细资料

      • getEncryptionMaterials

        public EncryptionMaterials getEncryptionMaterials()
        从接口复制的说明: EncryptionMaterialsFactory
        Returns EncryptionMaterials which the caller can use for encryption. Each implementation of EncryptionMaterialsProvider can choose its own strategy for loading encryption material. For example, an implementation might load encryption material from an existing key management system, or load new encryption material when keys are rotated.
        指定者:
        getEncryptionMaterials 在接口中 EncryptionMaterialsFactory
        返回:
        EncryptionMaterials which the caller can use to encrypt or decrypt data.
      • refresh

        public void refresh()
        从接口复制的说明: EncryptionMaterialsProvider
        Forces this encryption materials provider to refresh its encryption material. For many implementations of encryption materials provider, this may simply be a no-op, such as any encryption materials provider implementation that vends static/non-changing encryption material. For other implementations that vend different encryption material throughout their lifetime, this method should force the encryption materials provider to refresh its encryption material.
        指定者:
        refresh 在接口中 EncryptionMaterialsProvider
      • getEncryptionMaterials

        public EncryptionMaterials getEncryptionMaterials​(java.util.Map<java.lang.String,​java.lang.String> materialDescIn)
        从接口复制的说明: EncryptionMaterialsAccessor
        Retrieves encryption materials matching the specified description from some source.
        指定者:
        getEncryptionMaterials 在接口中 EncryptionMaterialsAccessor
        参数:
        materialDescIn - A Map whose key-value pairs describe an encryption materials object
        返回:
        The encryption materials that match the description, or null if no matching encryption materials found.