CertificateFactory.GenerateCertificatesAsync(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.
Asynchronously reads a collection of certificates from the input stream.
public System.Threading.Tasks.Task<System.Collections.Generic.ICollection<Java.Security.Cert.Certificate>?> GenerateCertificatesAsync(System.IO.Stream? inStream);
member this.GenerateCertificatesAsync : System.IO.Stream -> System.Threading.Tasks.Task<System.Collections.Generic.ICollection<Java.Security.Cert.Certificate>>
Parameters
- inStream
- Stream
The input stream that contains the certificates.
Returns
A task whose result is a collection view of the certificates read from inStream. The collection can be empty.
Remarks
This .NET method runs GenerateCertificates(Stream) 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.