KeyStore.PasswordProtection.ProtectionAlgorithm 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取保护算法的名称。
public virtual string ProtectionAlgorithm { [Android.Runtime.Register("getProtectionAlgorithm", "()Ljava/lang/String;", "GetGetProtectionAlgorithmHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getProtectionAlgorithm", "()Ljava/lang/String;", "GetGetProtectionAlgorithmHandler", ApiSince=26)>]
member this.ProtectionAlgorithm : string
属性值
算法名称或 null 未设置算法名称
- 属性
注解
获取保护算法的名称。 如果未设置任何密钥存储提供程序,则密钥存储提供程序将使用其默认保护算法。 使用 'keystore.<type>.keyProtectionAlgorithm' 安全属性设置给定密钥存储类型的默认保护算法的名称。 例如,该 keystore.PKCS12.keyProtectionAlgorithm 属性存储用于 PKCS12 密钥存储的默认密钥保护算法的名称。 如果未设置安全属性,将使用特定于实现的算法。
已在 1.8 中添加。
Java文档java.security.KeyStore.PasswordProtection.getProtectionAlgorithm()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。