Open msetina opened 5 months ago
Can you provide a specific example of what application you need to interoperate with that requires the X.509 certificate to be absent?
My code was faulty and produced empty string for ca chain. The cert parameter was no cecked, so the undesired result. Will provide the example....
I see, thanks. Yes, we need some validation here to ensure the certificate string to be inserted is an actual X.509 certificate.
If you set cert parameter of sign call to empty string, signature will produce an empty in KeyInfo and even ignore public key data. Removing cert parameter form sign call will produce problem #250