語言

KeyProperties.PurposeAgreeKey 欄位

定義

警告

This constant will be removed in the future version. Use Android.Security.Keystore.KeyStorePurpose enum directly instead of this field.

金鑰的目的:透過金鑰協議建立共享的 ECDH 秘密。

[Android.Runtime.Register("PURPOSE_AGREE_KEY", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Security.Keystore.KeyStorePurpose enum directly instead of this field.", true)]
public const Android.Security.Keystore.KeyStorePurpose PurposeAgreeKey = 64;
[<Android.Runtime.Register("PURPOSE_AGREE_KEY", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Security.Keystore.KeyStorePurpose enum directly instead of this field.", true)>]
val mutable PurposeAgreeKey : Android.Security.Keystore.KeyStorePurpose

欄位值

Value = 64
屬性

備註

金鑰的目的:透過金鑰協議建立共享的 ECDH 秘密。

具有此目的的金鑰可與其他方的橢圓曲線公鑰結合,建立不安全通道上的共享秘密。 它應該作為參數使用( javax.crypto.KeyAgreement#init(java.security.Key) 完整範例 可在此取得)。 更詳細的說明請參見 這篇文章 。

Java 文件 android.security.keystore.KeyProperties.PURPOSE_AGREE_KEY。

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

適用於