Java.Security.Identity.PublicKey Property
Returns the PublicKey associated with this Identity.

Syntax

[get: Android.Runtime.Register("getPublicKey", "()Ljava/security/PublicKey;", "GetGetPublicKeyHandler")]
[set: Android.Runtime.Register("setPublicKey", "(Ljava/security/PublicKey;)V", "GetSetPublicKey_Ljava_security_PublicKey_Handler")]
public virtual IPublicKey PublicKey { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.KeyManagementExceptionif another Identity in the same scope as this Identity already has the same PublicKey.
Java.Security.KeyManagementExceptionif another Identity in the same scope as this Identity already has the same PublicKey.
Java.Security.KeyManagementExceptionif another Identity in the same scope as this Identity already has the same PublicKey.
Java.Security.KeyManagementExceptionif another Identity in the same scope as this Identity already has the same PublicKey.
Java.Security.KeyManagementExceptionif another Identity in the same scope as this Identity already has the same PublicKey.

Remarks

Get method documentation [Android Documentation]

Returns the PublicKey associated with this Identity.

Set method documentation [Android Documentation]

Sets the specified PublicKey to this Identity.

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1