KeyStoreException.ErrorIncorrectUsage 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionError enum directly instead of this field.
调用方尝试使用的功能与用于生成密钥的参数不兼容。
[Android.Runtime.Register("ERROR_INCORRECT_USAGE", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionError enum directly instead of this field.", true)]
public const Android.Security.KeyStoreExceptionError ErrorIncorrectUsage = 13;
[<Android.Runtime.Register("ERROR_INCORRECT_USAGE", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionError enum directly instead of this field.", true)>]
val mutable ErrorIncorrectUsage : Android.Security.KeyStoreExceptionError
字段值
Value = 13- 属性
注解
调用方尝试使用的功能与用于生成密钥的参数不兼容。 例如,尝试使用为其他签名算法生成的密钥,或者在创建密钥期间未指定的摘要。 另一种情况是尝试生成对称 AES 密钥并请求密钥证明。
Java文档android.security.KeyStoreException.ERROR_INCORRECT_USAGE。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。