Klasse CertificateInfo
java.lang.Object
com.inet.report.certificate.CertificateInfo
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungFOR INTERNAL USE ONLY returns the certificate containing signer info or null if no certificate exists.static CertificateInfogetInstance(@Nonnull String keyStoreType, @Nonnull String keyStorePathOrUrl, @Nonnull String keyStorePassword, String keyAlias, String keyPassword, String digestAlgorithmName) This method returns an instance of Certificate Infocom.inet.report.certificate.PDFSignatureProcessorgetSignatureProcessor(String digestAlgorithmName) FOR INTERNAL USE ONLY returns an instance of PDFSignatureProcessor.
-
Methodendetails
-
getInstance
public static CertificateInfo getInstance(@Nonnull String keyStoreType, @Nonnull String keyStorePathOrUrl, @Nonnull String keyStorePassword, String keyAlias, String keyPassword, String digestAlgorithmName) throws IllegalArgumentException This method returns an instance of Certificate Info- Parameter:
keyStoreType- type of key store, NOT nullkeyStorePathOrUrl- path or URL to key store file, NOT nullkeyStorePassword- key store password, NOT nullkeyAlias- key name (if null, the name will be read from store)keyPassword- key password (if null, the store password will be used)digestAlgorithmName- digest algorithm name (if null, the default algorithm name will be used)- Gibt zurück:
- instance of CertificateInfo or null if the initializing of the CertificateInfo failed.
- Löst aus:
IllegalArgumentException- if the security parameters can not be determined or they are not valid.- Seit:
- 9.1
-
getSignatureProcessor
public com.inet.report.certificate.PDFSignatureProcessor getSignatureProcessor(String digestAlgorithmName) FOR INTERNAL USE ONLY returns an instance of PDFSignatureProcessor.- Parameter:
digestAlgorithmName- name od digest algorithm.- Gibt zurück:
- instance of signature processor.
-
getCertificate
FOR INTERNAL USE ONLY returns the certificate containing signer info or null if no certificate exists.- Gibt zurück:
- the certificate or null.
-