Hello,
What is the intended/expected way to implement BuilderProfile for external types?
Right now build_extensions returns Result<Vec<Extension>, x509_cert::builder::Error>, which effectively forces external implementations to map their error types into x509_cert::builder::Error. That may be a bit convoluted, since x509_cert::builder::Error has a limited set of variants and doesn’t easily carry external errors.
Would it make sense to change BuilderProfile to have an associated error type (e.g. type Error;), so implementations can return their own error?
Alternatively, would you consider adding a BuilderProfile-related variant to x509_cert::builder::Error?