Aracılığıyla paylaş


ICertificate.Encode(Stream) Method

Definition

Caution

deprecated

Encodes the certificate to an output stream in a format that can be decoded by the decode method.

[Android.Runtime.Register("encode", "(Ljava/io/OutputStream;)V", "GetEncode_Ljava_io_OutputStream_Handler:Java.Security.ICertificateInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void Encode (System.IO.Stream? stream);
[<Android.Runtime.Register("encode", "(Ljava/io/OutputStream;)V", "GetEncode_Ljava_io_OutputStream_Handler:Java.Security.ICertificateInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member Encode : System.IO.Stream -> unit

Parameters

stream
Stream

the output stream to which to encode the certificate.

Attributes

Exceptions

if certificate information is incomplete or incorrect.

if an exception is thrown by accessing the provided stream.

Remarks

Encodes the certificate to an output stream in a format that can be decoded by the decode method.

Java documentation for java.security.Certificate.encode(java.io.OutputStream).

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

See also