public class HTTPNetworkRegistrationService implements NetworkRegistrationService
Modifier and Type | Class and Description |
---|---|
static class |
HTTPNetworkRegistrationService.Companion |
Modifier and Type | Field and Description |
---|---|
static HTTPNetworkRegistrationService.Companion |
Companion |
Constructor and Description |
---|
HTTPNetworkRegistrationService(java.net.URL server) |
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getServer() |
java.security.cert.Certificate[] |
retrieveCertificates(java.lang.String requestId)
Poll Certificate Signing Server for the request and returns a chain of certificates if request has been approved, null otherwise.
|
java.lang.String |
submitRequest(org.bouncycastle.pkcs.PKCS10CertificationRequest request)
Submits a CSR to the signing service and returns an opaque request ID.
|
retrieveCertificates, submitRequest
public static HTTPNetworkRegistrationService.Companion Companion
public HTTPNetworkRegistrationService(java.net.URL server)
public java.security.cert.Certificate[] retrieveCertificates(java.lang.String requestId)
Poll Certificate Signing Server for the request and returns a chain of certificates if request has been approved, null otherwise.
public java.lang.String submitRequest(org.bouncycastle.pkcs.PKCS10CertificationRequest request)
Submits a CSR to the signing service and returns an opaque request ID.
public java.net.URL getServer()