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

Add dynamic link signing #7

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

umuser
Copy link
Collaborator

@umuser umuser commented Feb 5, 2025

No description provided.

@umuser umuser requested a review from MarcDavid155 February 5, 2025 19:30

X509Certificate certificate = getCertificate(session, userDocumentNumberRequest);

DataToSign dataToSign = SignatureBuilder.aSignature(container)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

üpris palju on common code'i, mida annaks äkki abimeetoditeks muuta

}

private X509Certificate getCertificate(HttpSession httpSession, UserDocumentNumberRequest userDocumentNumberRequest) {
smartIdV3NotificationBasedCertificateChoiceService.startCertificateChoice(httpSession, userDocumentNumberRequest);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

siin ka, person code/document numbri puhul erinevus ainult meetodite esimeses reas, ülejäänud on neil common

<div class="ms-3">
<a href="#"
class="btn btn-outline-dark w-100 mb-1 signing-btn"
aria-controls="notification-signing-with-person-code">Signing with person code</a>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Võiks tõenäoliselt ühtlustada, et nii dynamicul kui ka notificaitonil oleks sama content

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