Expose signature string (RFC 5280 4.1.2.3)#36
Conversation
|
Isn't that already implemented here? |
|
@tmolitor-stud-tu you're right, thanks for pointing that out! But there must be the same value in RFC 5280 4.1.1.2:
So this is what is missing. Will update my PR |
|
@filom could you check this PR please :)? |
|
The signature algorithm identifier is present in the certificate first level and in the TBSCertificate (what I call with the variable "block1") and they have to be identical by spec, so there is no reason to create additional parameters to return the same information. |
The current signature field exposes the signature value (RFC 5280 4.1.1.3). But at the beginning of the certificate, we have a field called signature which should contain the OID of the signature algorithm.
See https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.3