-
MethodDescriptionsince 5.12. Use
Set<TimestampWrapper> timestampSet = new LinkedHashSet<>(getTimestampList());
since DSS 5.12. Use#setPasswordBinaries(passwordProtection.toCharArray())
since DSS 5.12. Use#setPasswordBinaries(passwordProtection.toCharArray())
since DSS 5.12. Use#incorporateValidationData(document, passwordProtection.toCharArray())
since DSS 5.12. Use#addNewSignatureField(document, parameters, passwordProtection.getBytes())
since DSS 5.12. Use#getAvailableSignatureFields(document, passwordProtection.toCharArray())
since DSS 5.12. Use#setPasswordBinaries(pwd.toCharArray())
eu.europa.esig.dss.pdf.AbstractPDFSignatureService.setAlertOnForbiddenSignatureCreation(StatusAlert) since DSS 5.12. UsePdfPermissionsChecker pdfPermissionsChecker = new PdfPermissionsChecker(); pdfPermissionsChecker.setAlertOnForbiddenSignatureCreation(alertOnForbiddenSignatureCreation); pdfObjFactory.setPdfPermissionsChecker(pdfPermissionsChecker);
since DSS 5.12. UsePdfSignatureFieldPositionChecker pdfSignatureFieldPositionChecker = new PdfSignatureFieldPositionChecker(); pdfSignatureFieldPositionChecker.setAlertOnSignatureFieldOutsidePageDimensions(alertOnSignatureFieldOutsidePageDimensions); pdfObjFactory.setPdfSignatureFieldPositionChecker(pdfSignatureFieldPositionChecker);
since DSS 5.12. UsePdfSignatureFieldPositionChecker pdfSignatureFieldPositionChecker = new PdfSignatureFieldPositionChecker(); pdfSignatureFieldPositionChecker.setAlertOnSignatureFieldOverlap(alertOnSignatureFieldOutsidePageDimensions); pdfObjFactory.setPdfSignatureFieldPositionChecker(pdfSignatureFieldPositionChecker);
since DSS 5.12. Please useeu.europa.esig.dss.pdf.PdfPermissionsChecker
class. See also {code #canFillSignatureForm} and#canCreateSignatureField
for custom handling.since 5.12. Usebyte[] digest = getMessageDigest().getValue()
since DSS 5.12. Use#addDssDictionary(document, validationDataForInclusion, pwd.toCharArray())
since DSS 5.12. Use#addNewSignatureField(document, parameters, pwd.toCharArray())
since DSS 5.12. Use#analyzePdfModifications(document, signatures, pwd.toCharArray())
since 5.12. UseMessageDigest messageDigest = messageDigest(toSignDocument, parameters); byte[] digest = messageDigest.getValue();
since DSS 5.12. Use#getAvailableSignatureFields(document, pwd.toCharArray())
since DSS 5.12. Use#getRevisions(document, pwd.toCharArray())
since DSS 5.12. Use#addAuthentication( final String host, final int port, final String scheme, final String login, final char[] password)
since DSS 5.12. See#closeQuietly(HttpUriRequestBase httpRequest, CloseableHttpClient client)
since 5.12. To be removed in DSS 5.13. Use#get(url)
for no cache, or an alternative DataLoader providing caching functionality.since DSS 5.12. UseCommonsHttpClientResponseHandler httpClientResponseHandler = new CommonsHttpClientResponseHandler(); List<Integer> acceptedHttpStatus = httpClientResponseHandler.getAcceptedHttpStatuses();
since DSS 5.12. UseCommonsHttpClientResponseHandler.getContent(HttpEntity responseEntity)
since DSS 5.12. UsegetHttpContext(httpHost)
method insteadsince DSS 5.12. Seeexecute(CloseableHttpClient client, HttpUriRequest httpRequest)
since DSS 5.12. UseCommonsHttpClientResponseHandler.handleResponse(CloseableHttpResponse httpResponse)
since DSS 5.12. UseCommonsHttpClientResponseHandler httpClientResponseHandler = new CommonsHttpClientResponseHandler(); httpClientResponseHandler.setAcceptedHttpStatuses(acceptedHttpStatus); commonsDataLoader.setHttpClientResponseHandler(httpClientResponseHandler);
since DSS 5.12. Use#setSslKeystorePassword(char[] sslKeystorePassword)
since DSS 5.12. Use#setSslTruststorePassword(char[] sslTruststorePassword)
since DSS 5.12. Use#setPassword(char[] password)
since DSS 5.12. Use#setPassword(char[] password)
since 5.12. To be removed in DSS 5.13. Use#get(url)
for no cache, or an alternative DataLoader providing caching functionality.since DSS 5.12. See#setConnectTimeout
and#setReadTimeout
since DSS 5.12. UseAuthorityKeyIdentifier authorityKeyIdentifier = CertificateExtensionsUtils.getAuthorityKeyIdentifier(certificateToken); byte[] aki = authorityKeyIdentifier != null ? authorityKeyIdentifier.getKeyIdentifier() : null;
since DSS 5.12. UseCertificateExtensionsUtils.getCAIssuersAccessUrls(certificate)
since DSS 5.12. UseCertificatePolicies certificatePolicies = CertificateExtensionsUtils.getCertificatePolicies(certToken); List<CertificatePolicy> result = certificatePolicies != null ? certificatePolicies.getPolicyList() : Collections.emptyList();
since DSS 5.12. UseCertificateExtensionsUtils.getCRLAccessUrls(certificateToken)
since DSS 5.12. UseCertificateExtensionsUtils.getOCSPAccessUrls(certificate)
since DSS 5.12. UseSubjectKeyIdentifier subjectKeyIdentifier = CertificateExtensionsUtils.getSubjectKeyIdentifier(certificateToken); byte[] ski = subjectKeyIdentifier != null ? subjectKeyIdentifier.getSki() : null;
since DSS 5.12. Usebyte[] ski = null; SubjectKeyIdentifier subjectKeyIdentifier = CertificateExtensionsUtils.getSubjectKeyIdentifier(certificateToken); if (subjectKeyIdentifier != null) { ski = subjectKeyIdentifier.getSki(); } else if (computeIfMissing) { ski = computeSkiFromCert(certificateToken); }
since DSS 5.12. UseSubjectAlternativeNames subjectAlternativeNames = CertificateExtensionsUtils.getSubjectAlternativeNames(certToken); List<eu.europa.esig.dss.model.x509.extension.GeneralName> result = subjectAlternativeNames != null ? subjectAlternativeNames.getGeneralNames() : Collections.emptyList();
since DSS 5.12. UseCertificateExtensionsUtils.hasOcspNoCheckExtension(token)
since DSS 5.12. UseCertificateExtensionsUtils.hasValAssuredShortTermCertsExtension(token)
since DSS 5.12. UseExtendedKeyUsages extendedKeyUsage = CertificateExtensionsUtils.getExtendedKeyUsage(certToken); boolean extendedKeyUsagePresent = extendedKeyUsage != null && extendedKeyUsage.getOids().contains(oid.getId());
since DSS 5.12. UseExtendedKeyUsages extendedKeyUsage = CertificateExtensionsUtils.getExtendedKeyUsage(certToken); boolean extendedKeyUsagePresent = extendedKeyUsage != null && extendedKeyUsage.getOids().contains(KeyPurposeId.id_kp_OCSPSigning.getId());
since 5.12. UsefindRevocations(final String key, final CertificateToken certificateToken, final CertificateToken issuerCertToken)
method.since DSS 5.12. Use#isValid
method instead.since DSS 5.12. Use#checkCertificateNotRevoked(CertificateToken certificateToken)
or#checkCertificatesNotRevoked(AdvancedSignature signature)
depending on validation contextsince DSS 5.12. Use#setMimeType(MimeType.getMimeTypeString())
-
ConstructorDescriptionsince DSS 5.12. Use
new UserCredentials(String username, char[] password)
#getCAIssuersAccessUrls
method instead.