Language

CertificateFactory.GenerateCertPathAsync Method

Definition

Overloads

Name Description
GenerateCertPathAsync(Stream, String)

Asynchronously generates a certificate path from the input stream using the specified encoding.

GenerateCertPathAsync(Stream)

Asynchronously generates a certificate path from the input stream using the default encoding.

GenerateCertPathAsync(IList<Certificate>)

Asynchronously generates a certificate path from the supplied list of certificates.

GenerateCertPathAsync(Stream, String)

Asynchronously generates a certificate path from the input stream using the specified encoding.

public System.Threading.Tasks.Task<Java.Security.Cert.CertPath?> GenerateCertPathAsync(System.IO.Stream? inStream, string? encoding);
member this.GenerateCertPathAsync : System.IO.Stream * string -> System.Threading.Tasks.Task<Java.Security.Cert.CertPath>

Parameters

inStream
Stream

The input stream that contains the certificate path data.

encoding
String

The encoding used for the data in inStream.

Returns

A task whose result is the certificate path initialized with the data from inStream using encoding.

Remarks

This .NET method runs GenerateCertPath(Stream, String) through Task.Run. The synchronous method reads the stream; this wrapper does not use asynchronous stream reads.

See the .NET async wrapper generator source.

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

GenerateCertPathAsync(Stream)

Asynchronously generates a certificate path from the input stream using the default encoding.

public System.Threading.Tasks.Task<Java.Security.Cert.CertPath?> GenerateCertPathAsync(System.IO.Stream? inStream);
member this.GenerateCertPathAsync : System.IO.Stream -> System.Threading.Tasks.Task<Java.Security.Cert.CertPath>

Parameters

inStream
Stream

The input stream that contains the certificate path data in the default encoding.

Returns

A task whose result is the certificate path initialized with the data from inStream.

Remarks

This .NET method runs GenerateCertPath(Stream) through Task.Run. The synchronous method reads the stream; this wrapper does not use asynchronous stream reads.

The default encoding is the first encoding returned by CertPathEncodings.

See the .NET async wrapper generator source.

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

GenerateCertPathAsync(IList<Certificate>)

Asynchronously generates a certificate path from the supplied list of certificates.

public System.Threading.Tasks.Task<Java.Security.Cert.CertPath?> GenerateCertPathAsync(System.Collections.Generic.IList<Java.Security.Cert.Certificate>? certificates);
member this.GenerateCertPathAsync : System.Collections.Generic.IList<Java.Security.Cert.Certificate> -> System.Threading.Tasks.Task<Java.Security.Cert.CertPath>

Parameters

certificates
IList<Certificate>

The list of certificates to copy into the certificate path. Each certificate must be of a type supported by this factory.

Returns

A task whose result is the certificate path initialized with the certificates from certificates.

Remarks

This .NET method runs GenerateCertPath(IList<Certificate>) through Task.Run. The synchronous method copies the certificates from the supplied list when it runs.

See the .NET async wrapper generator source.

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