Freigeben über


Identity.RemoveCertificate(ICertificate) Method

Definition

Caution

deprecated

Removes a certificate from this identity.

[Android.Runtime.Register("removeCertificate", "(Ljava/security/Certificate;)V", "GetRemoveCertificate_Ljava_security_Certificate_Handler")]
[System.Obsolete("deprecated")]
public virtual void RemoveCertificate (Java.Security.ICertificate? certificate);
[<Android.Runtime.Register("removeCertificate", "(Ljava/security/Certificate;)V", "GetRemoveCertificate_Ljava_security_Certificate_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member RemoveCertificate : Java.Security.ICertificate -> unit
override this.RemoveCertificate : Java.Security.ICertificate -> unit

Parameters

certificate
ICertificate

the certificate to be removed.

Attributes

Exceptions

if the certificate is not found.

Remarks

Removes a certificate from this identity.

First, if there is a security manager, its checkSecurityAccess method is called with "removeIdentityCertificate" as its argument to see if it's ok to remove a certificate.

Java documentation for java.security.Identity.removeCertificate(java.security.Certificate).

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