CertificateFactory.GenerateCertificatesAsync(Stream) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从输入流异步读取证书集合。
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异步包装器生成器源。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。