简体   繁体   中英

can not sign pdf using java with co sign get 90030103 error

please help me. I am trying sign pdf using cosign. hear is part of my code

try {  
            initializeKeyStore();
            HttpsURLConnection.setDefaultHostnameVerifier(new NullHostnameVerifier());
            final DSS dss = new DSS(wsdlURL, new QName("http://arx.com/SAPIWS/DSS/1.0/", "DSS")); 
            final SignRequest req = createSignRequest(pdfFile, signFieldName, userName, password);
            signRes = dss.getDSSSoap().dssSign(req);
        } catch (Exception e) {
            throw new DssException(e.getMessage(), e);
        }

but I am getting "90030103" error.

Can anyone provide me some simple tutorial, where I can find how sign PDF.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM