-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AG-103 Časové pečiatky #341
AG-103 Časové pečiatky #341
Conversation
|
||
public Autogram(UI ui, boolean shouldDisplayVisualizationError , DriverDetector driverDetector) { | ||
this(ui, shouldDisplayVisualizationError, driverDetector, -1); | ||
public Autogram(UI ui, boolean shouldDisplayVisualizationError , DriverDetector driverDetector, TSPSource tspSource) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tu sa nam to zacina kopit a imho by vlastne mal do Autogramu vliezt nejaky settings. To by potom riesilo aj problem, ze potrebujeme restart.
} | ||
|
||
public static SigningJob buildFromFileBatch(File file, Autogram autogram, Responder responder, boolean checkPDFACompliance, SignatureLevel signatureType, boolean isEn319132) { | ||
public static SigningJob buildFromFile(File file, Responder responder, boolean checkPDFACompliance, SignatureLevel signatureType, boolean isEn319132, TSPSource tspSource) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aj tu by voslo settings a tspsource + isEn319132 si nastavis podla settings (aktualnych)
return SigningParameters.buildForPDF(document, checkPDFACompliance, isEn319132, tspSource); | ||
case XAdES_BASELINE_B: | ||
return SigningParameters.buildForASiCWithXAdES(filename, document, isEn319132); | ||
return SigningParameters.buildForASiCWithXAdES(document, isEn319132, tspSource); | ||
case CAdES_BASELINE_B: | ||
return SigningParameters.buildForASiCWithCAdES(filename, document, isEn319132); | ||
return SigningParameters.buildForASiCWithCAdES(document, isEn319132, tspSource); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ak by sme tu tieto veci vytahovali zo settings, tak nemusime restart?
src/main/java/digital/slovensko/autogram/ui/gui/MainMenuController.java
Outdated
Show resolved
Hide resolved
addOption(null, "en319132", false, "Sign according to EN 319 132 or EN 319 122."). | ||
addOption(null, "tsa-server", true, "Url of TimeStamp Authority server that should be used for timestamping in signature level BASELINE_T. If provided, BASELINE_T signatures are made."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pre GUI nevidim asi settings ci zle pozeram?
src/main/resources/digital/slovensko/autogram/ui/gui/settings-dialog.fxml
Outdated
Show resolved
Hide resolved
src/main/java/digital/slovensko/autogram/ui/gui/SettingsDialogController.java
Outdated
Show resolved
Hide resolved
src/main/java/digital/slovensko/autogram/ui/gui/SettingsDialogController.java
Show resolved
Hide resolved
…dialog.fxml Co-authored-by: Jano Suchal <jans@solver.sk>
No description provided.