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?
Thanks,
Peter
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();java.security.Signature sig = Signature.getInstance("SHA1withRSA");sig.initSign(key);