Java.Security.ICertificate.Decode Method
Decodes a certificate from the given InputStream.

Syntax

[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")]
public void Decode (System.IO.Stream stream)

See Also

ICertificate.Encode(System.IO.Stream)
ICertificate.Format

Parameters

stream
the InputStream to read from.

Exceptions

TypeReason
Java.Security.KeyExceptionif certificate information is incomplete or incorrect.
Java.IO.IOExceptionif an exception is thrown by accessing the provided stream.

Remarks

Decodes a certificate from the given InputStream. The format of the data to encode must be that identified by ICertificate.Format and encoded by ICertificate.Encode(System.IO.Stream).

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1