public SSLCertificate getCertificate(byte[] cert, Principal[] p1, String p2) {
System.out.println("AlwaysTrustDecider: getCertificate");
try {
X509Certificate newCert = new iaik.x509.X509Certificate(cert);
return new SSLCertificate(iaik.x509.ChainVerifier.orderCertificateChain(newCert, this.certs));
} catch (Exception e) {}
return null;
}