I am looking for a way to read the CSR (#PKCS10 request) in java. Is there any API available OOTB with oracle jdk? I have a specific requirement NOT to use Bouncycastle or any other custom implementations
In other words, I am looking for an alternative for the below BC code snippet
PKCS10CertificationRequest request = new PKCS10CertificationRequest(csr);
request.getAttributes(...)
Update: Unfortunately sun.security.x509.PKCS10 is not the option since sun.* packages are not part of the supported, public interface.