Signer.PrivateKey Property

Definition

Caution

deprecated

Returns this signer's private key.

[System.Obsolete("deprecated")]
public virtual Java.Security.IPrivateKey? PrivateKey { [Android.Runtime.Register("getPrivateKey", "()Ljava/security/PrivateKey;", "GetGetPrivateKeyHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getPrivateKey", "()Ljava/security/PrivateKey;", "GetGetPrivateKeyHandler")>]
member this.PrivateKey : Java.Security.IPrivateKey

Property Value

this signer's private key, or null if the private key has not yet been set.

Attributes

Remarks

Returns this signer's private key.

First, if there is a security manager, its checkSecurityAccess method is called with "getSignerPrivateKey" as its argument to see if it's ok to return the private key.

Java documentation for java.security.Signer.getPrivateKey().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to