There is a use case(spdm) where Certificate Extended Key Usage(EKU) Oid is customized, and EndCertEntity is used to verify certificate chain with customized EKU. But the current EndCertEntity does not expose the verify function with eku. So I made a patch to expose a function called verify_is_valid_cert_with_eku for EndCertEntity.
What do you think of this?
Any chance we can see add this API in webpki?
There is a use case(spdm) where Certificate Extended Key Usage(EKU) Oid is customized, and EndCertEntity is used to verify certificate chain with customized EKU. But the current EndCertEntity does not expose the verify function with eku. So I made a patch to expose a function called
verify_is_valid_cert_with_eku
for EndCertEntity.What do you think of this? Any chance we can see add this API in webpki?