Identity.PublicKey プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
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 ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。