Share via


Certificate.WriteReplace Method

Definition

Replace the Certificate to be serialized.

[Android.Runtime.Register("writeReplace", "()Ljava/lang/Object;", "GetWriteReplaceHandler")]
protected virtual Java.Lang.Object? WriteReplace ();
[<Android.Runtime.Register("writeReplace", "()Ljava/lang/Object;", "GetWriteReplaceHandler")>]
abstract member WriteReplace : unit -> Java.Lang.Object
override this.WriteReplace : unit -> Java.Lang.Object

Returns

the alternate Certificate object to be serialized

Attributes

Exceptions

if the creation of the alternate object fails.

Remarks

Replace the Certificate to be serialized.

Added in 1.3.

Java documentation for java.security.cert.Certificate.writeReplace().

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