KeyProperties.PurposeAgreeKey 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。