ICertificate.Decode(Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Decodes a certificate from an input stream.
[Android.Runtime.Register("decode", "(Ljava/io/InputStream;)V", "GetDecode_Ljava_io_InputStream_Handler:Java.Security.ICertificateInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void Decode (System.IO.Stream? stream);
[<Android.Runtime.Register("decode", "(Ljava/io/InputStream;)V", "GetDecode_Ljava_io_InputStream_Handler:Java.Security.ICertificateInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member Decode : System.IO.Stream -> unit
Parameters
- stream
- Stream
the input stream from which to fetch the data being decoded.
- Attributes
Exceptions
if certificate information is incomplete or incorrect.
if an exception is thrown by accessing the provided stream.
Remarks
Decodes a certificate from an input stream. The format should be that returned by getFormat
and produced by encode
.
Java documentation for java.security.Certificate.decode(java.io.InputStream)
.
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.