Providers: Setting the Signature OID and Parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello OpenSSL Community,

this might be a "newbie" question related to the 3.x providers architecture, but I am having some issues understanding where the signature OID should be actually set when generating a new signature. Similarly, when validating signatures, which are the functions that are supposed to check / use the signature OIDs and parameters?

For example, are these the functions where you are supposed to set the signature OIDs (sign/digest sign)?

or maybe it is done through the signature ctx params?

or, again, this is the more appropriate set of functions?

If I understand the documentation here:

The "algorithm-id" and the "digest" can be set/get via the OSSL_FUNC_signature_gettable_ctx_params() and OSSL_FUNC_signature_settable_ctx_params() where, I guess, you use the context to save/get the algorithm(s)... but where can I get the pointer to the X509_ALGOR to get/set OIDs and parameter(s)?

Thanks,
Max

--
Best Regards,
Massimiliano Pala, Ph.D.
OpenCA Labs Director
OpenCA Logo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux