public interface KeygenService
Certificate createFromPEM(String csr)
Certificate createFromSpkac(String spkac)
<keygen>element an SPKAC request (see the specification in html5)
Certificate createFromCRMF(String crmfReq)
Using this method may be needed when the server has to produce XHTML (should be rare!) as the
tag in Netscape browsers is only supported by html. This should be fixed soon, now that html5 supports the
element. For progress on this issue check bug report 101019.
A CRMF request can contain more details about the certificate, but those would better be passed using a form, as in the keygen examples, the server then setting those fields directly on the returned request. Currently we extract only the public key to generate the returned Certificate.
crmfReq- the request
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.