Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Returns a (possibly empty) collection view of the CRLs read
from the given input stream inStream
.
[Android.Runtime.Register("generateCRLs", "(Ljava/io/InputStream;)Ljava/util/Collection;", "")]
public System.Collections.Generic.ICollection<Java.Security.Cert.CRL>? GenerateCRLs(System.IO.Stream? inStream);
[<Android.Runtime.Register("generateCRLs", "(Ljava/io/InputStream;)Ljava/util/Collection;", "")>]
member this.GenerateCRLs : System.IO.Stream -> System.Collections.Generic.ICollection<Java.Security.Cert.CRL>
the input stream with the CRLs.
a (possibly empty) collection view of java.security.cert.CRL objects initialized with the data from the input stream.
if parsing problems are detected.
Returns a (possibly empty) collection view of the CRLs read from the given input stream inStream
.
In order to take advantage of the specialized CRL format supported by this certificate factory, each element in the returned collection view can be typecast to the corresponding CRL class. For example, if this certificate factory implements X.509 CRLs, the elements in the returned collection can be typecast to the X509CRL
class.
In the case of a certificate factory for X.509 CRLs, inStream
may contain a sequence of DER-encoded CRLs. In addition, inStream
may contain a PKCS#7 CRL set. This is a PKCS#7 SignedData object, with the only significant field being crls. In particular, the signature and the contents are ignored. This format allows multiple CRLs to be downloaded at once. If no CRLs are present, an empty collection is returned.
Note that if the given input stream does not support java.io.InputStream#mark(int) mark
and java.io.InputStream#reset() reset
, this method will consume the entire input stream.
Java documentation for java.security.cert.CertificateFactory.generateCRLs(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.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in