Partha Sarathy Maripini created QPID-8774:
---------------------------------------------

             Summary: [Broker-J] Define CertificateGeneratorProvider SPI and 
generic exceptions in broker-core
                 Key: QPID-8774
                 URL: https://issues.apache.org/jira/browse/QPID-8774
             Project: Qpid
          Issue Type: Sub-task
          Components: Broker-J
            Reporter: Partha Sarathy Maripini


*Background:*
broker-core currently depends directly on Bouncy Castle libraries and exposes 
BC-specific exception types during self-signed certificate generation.

*Tasks:*
1. Create a provider-agnostic interface `CertificateGeneratorProvider` 
extending `org.apache.qpid.server.plugin.Pluggable`.
2. Define interface methods accepting standard JRE types 
(`java.security.KeyPair`, `X500Principal` / DN string, validity days, signature 
algorithm).
3. Create a generic runtime exception `CertificateGenerationException` in 
`broker-core` to replace standard Bouncy Castle exception leaks.

*Acceptance Criteria:*
- broker-core contains the SPI and custom exception.
- No org.bouncycastle imports remain inside the SPI definition or exception 
class.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to