So I’ve created the java algorithm for AWS signature creation, following the guidelines of AWS >https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html The algorithm is available on my github >https://github.com/marcodag/aws_signature_creation/blob/main/SignatureCreation.java…
Tag: signature
PDF Signature invalid but Verfiy Signature with PDFBox2 is valid (true)
Sample PDF download: https://drive.google.com/file/d/12wv1Pb7gh4vCKOGhX4cZ3aOrLSiOo4If/view?usp=sharing So when the PDF is opened in A.Reader (Contineous release) it says the Certificate is invalid as Changes have been made to this document that rendered the signature invalid. But I can’t see what/where…
SunPKCS11 usage against HSM without CKO_CERTIFICATE
My problem concern the usage of an hsm with Java (openjdk 11.0.12). Hsm should be use for signature purpose, by SHA512 RSA algorithm. I could be wrong in a lot of the following sentences, I’m totally newbie with HSM & co, so I apologize in advance. For what I’ve understand there are three kind…
Why is the order of parameters considered part of a method’s signature in context of method overloading?
In this code … … I am just changing the order of parameters, but it is still considered as method overloading, i.e. static binding at compile time. My questions are: Why order is considered to be part of a method’s signature in Java? What are the advantages? From my POV I do not see the exac…
Exceptions or null in java
I have the next doubt. According to good practices of java, how to manage the cases in which the object can not be found and we want to know why. For example, if someone has problems logging in our system and we want to inform them exactly what is the problem, we cannot return null because we lose the reason