Skip to content

Commit

Permalink
Refactor imports in Signer and CardSigner classes
Browse files Browse the repository at this point in the history
Reorganized and optimized import statements by removing unused imports and ensuring consistent structure. This improves code readability and maintains cleaner dependencies. No functional changes were made.
  • Loading branch information
Adrian Lapierre committed Jan 4, 2025
1 parent 26c2506 commit bbe08d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
package io.alapierre.crypto.dss.pdf.signer;

import eu.europa.esig.dss.enumerations.DigestAlgorithm;
import eu.europa.esig.dss.enumerations.SignatureLevel;
import eu.europa.esig.dss.enumerations.SignaturePackaging;
import eu.europa.esig.dss.model.DSSDocument;
import eu.europa.esig.dss.model.InMemoryDocument;
import eu.europa.esig.dss.model.SignatureValue;
import eu.europa.esig.dss.model.ToBeSigned;
import eu.europa.esig.dss.pades.PAdESSignatureParameters;
import eu.europa.esig.dss.pades.signature.PAdESService;
import eu.europa.esig.dss.token.DSSPrivateKeyEntry;
import eu.europa.esig.dss.token.PasswordInputCallback;
import eu.europa.esig.dss.token.Pkcs11SignatureToken;
import eu.europa.esig.dss.validation.CommonCertificateVerifier;
import io.alapierre.crypto.dss.common.misc.DllUtil;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
Expand All @@ -22,8 +13,6 @@

import java.io.InputStream;


import static io.alapierre.crypto.dss.common.KeyUtil.*;
import static io.alapierre.crypto.dss.common.misc.DllUtil.resolveDllAbsolutePathAndFileName;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import eu.europa.esig.dss.model.ToBeSigned;
import eu.europa.esig.dss.pades.PAdESSignatureParameters;
import eu.europa.esig.dss.pades.signature.PAdESService;
import eu.europa.esig.dss.spi.validation.CommonCertificateVerifier;
import eu.europa.esig.dss.token.DSSPrivateKeyEntry;
import eu.europa.esig.dss.token.SignatureTokenConnection;
import eu.europa.esig.dss.validation.CommonCertificateVerifier;
import org.jetbrains.annotations.NotNull;

import static io.alapierre.crypto.dss.common.KeyUtil.findValidKey;
Expand Down

0 comments on commit bbe08d3

Please sign in to comment.