Skip to Content
avatar image
Former Member

Where to find .jar with KeystoreManager, InitialContext, PrivateKey classes on PO 7.31?

Hi guys,

I need to implement a UDF using private key with the code below, but am not able to get the .jar file with needed classes. Do you know where to find it on 7.31?


InitialContext ctx = ctx = new InitialContext(); 
Object o = (Object) ctx.lookup("keystore"); KeystoreManager manager = (KeystoreManager) o; keyStore = manager.getKeystore("DEFAULT");InitialContext context = new InitialContext();KeyStoreManager manager = (KeystoreManager) context.lookup("keystore");KeyStore keyStore = manager.getKeystore(keyStoreView);SsfProfileKeyStore profile = new SsfProfileKeyStore(keyStore, alias, null);PrivateKey key = profile.getPrivateKey(); sig = Signature.getInstance("SHA1withRSA");sig.initSign(key);
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers