Identity.PublicKey プロパティ

定義

注意事項

deprecated

この ID の公開キーを返します。 または、この ID の公開キーを設定します。

[System.Obsolete("deprecated")]
public virtual Java.Security.IPublicKey? PublicKey { [Android.Runtime.Register("getPublicKey", "()Ljava/security/PublicKey;", "GetGetPublicKeyHandler")] get; [Android.Runtime.Register("setPublicKey", "(Ljava/security/PublicKey;)V", "GetSetPublicKey_Ljava_security_PublicKey_Handler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getPublicKey", "()Ljava/security/PublicKey;", "GetGetPublicKeyHandler")>]
[<set: Android.Runtime.Register("setPublicKey", "(Ljava/security/PublicKey;)V", "GetSetPublicKey_Ljava_security_PublicKey_Handler")>]
member this.PublicKey : Java.Security.IPublicKey with get, set

プロパティ値

この ID の公開キー。

属性

例外

これとIdentity同じスコープ内の別Identityのが既に同じ PublicKeyを持っている場合は 。

注釈

プロパティ getter のドキュメント:

この ID の公開キーを返します。

java.security.Identity.getPublicKey()Java ドキュメント。

プロパティ セッターのドキュメント:

この ID の公開キーを設定します。 この操作では、古いキーとこの ID のすべての証明書が削除されます。

まず、セキュリティ マネージャーがある場合、その checkSecurityAccess メソッドは 引数として を使用 "setIdentityPublicKey" して呼び出され、公開キーを設定しても問題ないかどうかを確認します。

java.security.Identity.setPublicKey(java.security.PublicKey)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象