interface IDataProtectionProvider
cangjie
public interface IDataProtectionProvider功能:定义创建数据保护器的提供程序接口。
成员概览
| 成员 | 功能 |
|---|---|
| func createProtector(String) | 创建指定用途链对应的数据保护器。 |
func createProtector(String)
cangjie
func createProtector(purpose: String): IDataProtector功能:创建指定用途链对应的数据保护器。
参数:
- purpose:
String- 数据保护用途。
返回值:
- IDataProtector - 返回对应用途的数据保护器。