-
Notifications
You must be signed in to change notification settings - Fork 1
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
Initial version of the application. #1
base: main
Are you sure you want to change the base?
Conversation
…This code is obtained from the samples supplied by iText.
…rogrammatically and storing the certificate chain.
…ave signature classes implement the IExternalSignatureWithChain.
Needed to be able to connect from the javascript in the page to the localhost.
…ted components file.
…vate keys. In Pkcs11 logout user only if it is logged in. Use RsaCng in tests.
… providing the pin.
…c. info at solution level.
<Company>PlantAnApp, iText Group</Company> | ||
<Authors>Plant An App, iText Group</Authors> | ||
<Copyright>(C) Plant An App, (C) iText Group</Copyright> | ||
<PackageLicenseFile>C:\Work\Projects\PdfAutoSignerAndJava\_code\PlantAnApp.PdfAutoSigner\license.rtf</PackageLicenseFile> | ||
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance> | ||
<RepositoryUrl>https://github.com/razvanionapp/PlantAnApp.PdfAutoSigner.git</RepositoryUrl> |
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.
I think that this should be updated.
**/hello-signed-pkcs11.pdf | ||
**/hello-signed-cert.pdf |
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.
I do not think we should have these here.
byte[] buffer = new byte[file.Length]; | ||
buffer = outputMemStream.ToArray(); |
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.
byte[] buffer = new byte[file.Length]; | |
buffer = outputMemStream.ToArray(); | |
byte[] buffer = outputMemStream.ToArray(); |
return BadRequest("A signature must be selected."); | ||
} | ||
|
||
var inputMemStream = new MemoryStream(); |
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.
this should be closed / disposed at some point. (why not create it with a using
statement?)
No description provided.