Skip to content
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

Merged

Conversation

celuchmarek
Copy link
Member

No description provided.


public Autogram(UI ui, boolean shouldDisplayVisualizationError , DriverDetector driverDetector) {
this(ui, shouldDisplayVisualizationError, driverDetector, -1);
public Autogram(UI ui, boolean shouldDisplayVisualizationError , DriverDetector driverDetector, TSPSource tspSource) {
Copy link
Member

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) {
Copy link
Member

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)

Comment on lines +201 to +205
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);
Copy link
Member

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?

Comment on lines +27 to +28
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.");
Copy link
Member

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?

@celuchmarek celuchmarek marked this pull request as ready for review November 26, 2023 11:38
@celuchmarek celuchmarek requested a review from jsuchal November 26, 2023 11:38
@celuchmarek celuchmarek merged commit df600b5 into slovensko-digital:main Nov 26, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants