public static final CertificateFactory getInstance ( String type ) throws CertificateException { try { Instance instance = GetInstance . getInstance ( "CertificateFactory" , CertificateFactorySpi . class , type ) ; return new CertificateFactory ( ( CertificateFactorySpi ) instance . impl , instance . provider , type ) ; } catch ( NoSuchAlgorithmException e ) { throw new CertificateException ( type + " not found" , e ) ; } }
Returns a certificate factory object that implements the specified certificate type .