DirectoryCertChainValidator dcValidator = new DirectoryCertChainValidator(trustedCert, Encoding.PEM, -1, 60000, null);
bis = new ByteArrayInputStream(bos.toByteArray());
bufis = new BufferedInputStream(bis);
PEMCredential pem = new PEMCredential(bufis, c);
secProperties = new DefaultClientConfiguration(dcValidator, pem);
secProperties.doSSLAuthn();
String[] outHandlers = secProperties.getOutHandlerClassNames();
Set<String> outHandlerLst = null;