-
Notifications
You must be signed in to change notification settings - Fork 5
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
base: master
Are you sure you want to change the base?
Conversation
|
||
X509Certificate certificate = getCertificate(session, userDocumentNumberRequest); | ||
|
||
DataToSign dataToSign = SignatureBuilder.aSignature(container) |
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.
üpris palju on common code'i, mida annaks äkki abimeetoditeks muuta
} | ||
|
||
private X509Certificate getCertificate(HttpSession httpSession, UserDocumentNumberRequest userDocumentNumberRequest) { | ||
smartIdV3NotificationBasedCertificateChoiceService.startCertificateChoice(httpSession, userDocumentNumberRequest); |
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.
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> |
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.
Võiks tõenäoliselt ühtlustada, et nii dynamicul kui ka notificaitonil oleks sama content
No description provided.