public synchronized void loadCredsPkcs12(InputStream in, char[] pw) throws IOException, CertificateException {
	clear();
	try {
	    creds = KeyStore.getInstance("PKCS12");
	    creds.load(in, pw);
	    this.pw = pw;
	} catch(KeyStoreException e) {
	    throw(new Error(e));
	} catch(NoSuchAlgorithmException e) {
	    throw(new Error(e));
	}
    }