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。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。