public static CertificateProvider getCertificateProvider ( ComponentManager manager , Store store , CertificateProvider certificateProvider ) throws GeneralSecurityException { CertificateProvider provider = newCertificateProvider ( manager , store ) ; if ( certificateProvider == null ) { return provider ; } return new ChainingCertificateProvider ( provider , certificateProvider ) ; }
Get a certificate provider for a given store and an additional certificate provider .