public class CertificateFactory extends Object
Modifier | Constructor and Description |
---|---|
protected |
CertificateFactory(CertificateFactorySpi certFacSpi,
Provider provider,
String type) |
Modifier and Type | Method and Description |
---|---|
Certificate |
generateCertificate(InputStream in) |
Collection |
generateCertificates(InputStream in) |
CertPath |
generateCertPath(InputStream stream) |
CertPath |
generateCertPath(InputStream inStream,
String encoding) |
CertPath |
generateCertPath(List certificates) |
CRL |
generateCRL(InputStream in) |
Collection |
generateCRLs(InputStream in) |
Iterator |
getCertPathEncodings() |
static CertificateFactory |
getInstance(String type) |
static CertificateFactory |
getInstance(String type,
Provider provider) |
static CertificateFactory |
getInstance(String type,
String provider) |
Provider |
getProvider() |
String |
getType() |
protected CertificateFactory(CertificateFactorySpi certFacSpi, Provider provider, String type)
public static CertificateFactory getInstance(String type) throws CertificateException
CertificateException
public static CertificateFactory getInstance(String type, String provider) throws CertificateException, NoSuchProviderException
public static CertificateFactory getInstance(String type, Provider provider) throws CertificateException
CertificateException
public final Provider getProvider()
public final String getType()
public final Certificate generateCertificate(InputStream in) throws CertificateException
CertificateException
public final Collection generateCertificates(InputStream in) throws CertificateException
CertificateException
public final CertPath generateCertPath(InputStream inStream, String encoding) throws CertificateException
CertificateException
public final CertPath generateCertPath(List certificates) throws CertificateException
CertificateException
public final CRL generateCRL(InputStream in) throws CRLException
CRLException
public final Collection generateCRLs(InputStream in) throws CRLException
CRLException
public final Iterator getCertPathEncodings()
public final CertPath generateCertPath(InputStream stream) throws CertificateException
CertificateException