public final class X509Certificates
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.security.cert.X509Certificate |
of(java.io.InputStream inputStream)
Creates a X.509 certificate object and initializes it with the data read from the given
inputStream . |
public static java.security.cert.X509Certificate of(java.io.InputStream inputStream) throws java.security.cert.CertificateException
inputStream
.inputStream
- an input stream with the certificate datajava.security.cert.CertificateException
- on parsing errors