KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > security > cert > CertificateFactory

java.security.cert
Class CertificateFactory

java.lang.Object
  extended by java.security.cert.CertificateFactory
See Also:
Top Examples, Source Code, Certificate, X509Certificate, CertPath, CRL, X509CRL

protected CertificateFactory(CertificateFactorySpi certFacSpi,
                             Provider provider,
                             String type)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Certificate generateCertificate(InputStream inStream)
                                      throws CertificateException
See Also:
reset, mark
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[1512]Get a CertificateFactory for X.509 type Certificates
By Sandy on 2005/08/10 05:09:50  Rate
/* This returns an instance of the CertificateFactory 
     for X.509 type Certificates */
 
  
  
 CertificateFactory fact = CertificateFactory.getInstance ( "X.509" ) ;


public final Collection<? extends Certificate> generateCertificates(InputStream inStream)
                                                             throws CertificateException
See Also:
reset, mark, generateCertificate
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final CertPath generateCertPath(InputStream inStream)
                                throws CertificateException
See Also:
getCertPathEncodings
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final CertPath generateCertPath(InputStream inStream,
                                       String encoding)
                                throws CertificateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final CertPath generateCertPath(List<? extends Certificate> certificates)
                                throws CertificateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final CRL generateCRL(InputStream inStream)
                      throws CRLException
See Also:
reset, mark
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Collection<? extends CRL> generateCRLs(InputStream inStream)
                                             throws CRLException
See Also:
reset, mark
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Iterator<String> getCertPathEncodings()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final CertificateFactory getInstance(String type)
                                            throws CertificateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final CertificateFactory getInstance(String type,
                                                   String provider)
                                            throws CertificateException,
                                                   NoSuchProviderException
See Also:
Provider
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final CertificateFactory getInstance(String type,
                                                   Provider provider)
                                            throws CertificateException
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Provider getProvider()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final String getType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags