CertificateFactorySpi.EngineGenerateCertificate(Stream) Method

Definition

Generates a certificate object and initializes it with the data read from the input stream inStream.

[Android.Runtime.Register("engineGenerateCertificate", "(Ljava/io/InputStream;)Ljava/security/cert/Certificate;", "GetEngineGenerateCertificate_Ljava_io_InputStream_Handler")]
public abstract Java.Security.Cert.Certificate? EngineGenerateCertificate (System.IO.Stream? inStream);
[<Android.Runtime.Register("engineGenerateCertificate", "(Ljava/io/InputStream;)Ljava/security/cert/Certificate;", "GetEngineGenerateCertificate_Ljava_io_InputStream_Handler")>]
abstract member EngineGenerateCertificate : System.IO.Stream -> Java.Security.Cert.Certificate

Parameters

inStream
Stream

an input stream with the certificate data.

Returns

Certificate

a certificate object initialized with the data from the input stream.

Attributes

Exceptions

if parsing problems are detected.

Remarks

Java documentation for java.security.cert.CertificateFactorySpi.engineGenerateCertificate(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.

Applies to