@@ -0,0 +1,3061 @@
+package com.hyperwallet.clientsdk;%0A%0Aimport com.hyperwallet.clientsdk.model.HyperwalletVerificationDocument;%0A%0Aimport javax.net.ssl.*;%0Aimport javax.xml.bind.DatatypeConverter;%0Aimport java.security.KeyManagementException;%0Aimport java.security.NoSuchAlgorithmException;%0Aimport java.security.SecureRandom;%0Aimport java.security.cert.CertificateException;%0Aimport java.security.cert.X509Certificate;%0Aimport java.util.ArrayList;%0Aimport java.util.HashMap;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Apublic class Test %7B%0A%0A    static class DefaultTrustManager implements X509TrustManager %7B%0A%0A        public void checkClientTrusted(X509Certificate%5B%5D arg0, String arg1) throws CertificateException %7B%0A        %7D%0A%0A        public void checkServerTrusted(X509Certificate%5B%5D arg0, String arg1) throws CertificateException %7B%0A        %7D%0A%0A        public X509Certificate%5B%5D getAcceptedIssuers() %7B%0A            return null;%0A        %7D%0A    %7D%0A%0A    public static void main(String agrs%5B%5D) throws Exception %7B%0A%0A        Hyperwallet client = new Hyperwallet(%22selrestuser@1861681%22,%0A                %22Password1!%22, %22prg-82499161-57d3-4160-8209-85db18d62c02%22,%0A                %22https://localhost-hyperwallet.aws.paylution.net:8181%22);%0A%0A        try %7B%0A            SSLContext ctx = SSLContext.getInstance(%22TLS%22);%0A            ctx.init(new KeyManager%5B0%5D, new TrustManager%5B%5D%7Bnew DefaultTrustManager()%7D, new SecureRandom());%0A            SSLContext.setDefault(ctx);%0A            HttpsURLConnection.setDefaultHostnameVerifier((hostname, sslSession) -%3E hostname.contains(%22localhost%22));%0A            String pair = %22selrestuser@1861681%22 + %22:%22 + %22Password1!%22;%0A            final String base64 = DatatypeConverter.printBase64Binary(pair.getBytes());%0A%0A            String userToken = %22usr-c725f318-bbf6-46ac-84c3-dabfb33eef82%22;%0A            List%3CHyperwalletVerificationDocument%3E documentList = new ArrayList%3C%3E();%0A            HyperwalletVerificationDocument hyperwalletVerificationDocument1 = new HyperwalletVerificationDocument();;%0A            hyperwalletVerificationDocument1.setType(%22DRIVERS_LICENSE%22);%0A            hyperwalletVerificationDocument1.setCategory(%22IDENTIFICATION%22);%0A            hyperwalletVerificationDocument1.setCountry(%22US%22);%0A            Map%3CString, String%3E fileList =  new HashMap%3C%3E();%0A            fileList.put(%22drivers_license_front%22,  %22/Users/ramahalingam/Desktop/L1.png%22);%0A            fileList.put(%22drivers_license_back%22,  %22/Users/ramahalingam/Desktop/L2.png%22);%0A            hyperwalletVerificationDocument1.setUploadFiles(fileList);%0A            documentList.add(hyperwalletVerificationDocument1);%0A            client.uploadUserDocuments(userToken, documentList);%0A        %7D catch (HyperwalletException e) %7B%0A            System.out.println(%22Exception occured::%22 + e.getErrorMessage());%0A            System.out.println(%22Exception occured::%22 + e.getErrorCode());%0A            System.out.println(%22Exception occured::%22 + e.getCause());%0A        %7D catch (NoSuchAlgorithmException e) %7B%0A            e.printStackTrace();%0A        %7D catch (KeyManagementException e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%7D%0A%0A

Test changes