×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Peter Kungl
Added: Apr 13, 2017 10:23 AM
Views: 10
Tags: no tags
adds a new security provider based on a property file
  1.  Properties properties = new Properties();
  2.         properties.load(new FileInputStream(new File("C:\\MEGSZEMI\\master\\Megszemi_Cert_Sign_Service_WSClient\\IAIKPkcs11Global.properties")));
  3.         provider = new IAIKPkcs11(properties);
  4.         Security.addProvider(provider);