mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-23 21:17:58 +01:00
We're using an inputstream now, not a string.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9690 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
5c92ced702
commit
a0021b17be
1 changed files with 1 additions and 1 deletions
|
@ -1316,7 +1316,7 @@ public class XMPPConnection {
|
|||
}
|
||||
else if(configuration.getKeystoreType().equals("PKCS11")) {
|
||||
try {
|
||||
Constructor c = Class.forName("sun.security.pkcs11.SunPKCS11").getConstructor(String.class);
|
||||
Constructor c = Class.forName("sun.security.pkcs11.SunPKCS11").getConstructor(InputStream.class);
|
||||
String pkcs11Config = "name = SmartCard\nlibrary = "+configuration.getPKCSConfig();
|
||||
ByteArrayInputStream config = new ByteArrayInputStream(pkcs11Config.getBytes());
|
||||
Provider p = (Provider)c.newInstance(config);
|
||||
|
|
Loading…
Reference in a new issue