Interface CertificateCreator

The Interface CertificateCreator is used as an interface to be implemented by external certificate generation classes when you have custom certificates to be generated and signed by the client. Such classes will be accessed by the Java service loader mechanism.

Method Summary

Modifier and Type Method and Description
java.security.cert.X509Certificate[]

createCertificate(java.io.InputStream pkcs10CertificationRequest)

Create a certificate chain based on a certificate request.

void

init(java.net.URL registrationXmlLocation)

Initialize the creator.

Method Detail

init

void init(java.net.URL registrationXmlLocation) throws a java.io.IOException error.

Parameters:
registrationXmlLocation is the URL that references the registration.xml file in use by the proxy.
Throws:
java.io.IOException error is displayed if the creator cannot be initialized.

createCertificate

java.security.cert.X509Certificate[] createCertificate(java.io.InputStream pkcs10CertificationRequest) throws a java.io.IOException error.

Create a certificate chain based on a certificate request.

Parameters:
pkcs10CertificationRequest - to be used for a DER encoded PKCS10 certificate request.
Returns:
The full certificate chain for the created certificate in order from the created certificate to the root CA certificate.
Throws:
java.io.IOException - Error thrown if there are any errors creating the certificate chain.