语言

CertificateFactory.GenerateCertificatesAsync(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>>

参数

inStream
Stream

包含证书的输入流。

返回

其结果为从 inStream中读取的证书的集合视图的任务。 集合可以为空。

注解

此.NET方法通过 GenerateCertificates(Stream)Task.Run。 同步方法读取流;此包装器不使用异步流读取。

请参阅.NET异步包装器生成器源。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于