ESTHttpResponse resp = client.doRequest(priorResponse.getRequestToRetry());
return handleEnrollResponse(resp);
}
public ESTEnrollmentResponse simpleEnroll(boolean reenroll, PKCS10CertificationRequest certificationRequest, ESTHttpAuth auth)
throws Exception
<BUG>{
final byte[] data = annotateRequest(certificationRequest.getEncoded()).getBytes();</BUG>
URL url = new URL(server + (reenroll ? SIMPLE_REENROLL : SIMPLE_ENROLL));
ESTHttpClient client = clientProvider.makeHttpClient(this.tlsAuthorizer);
ESTHttpRequest req = new ESTHttpRequest("POST", url, new ESTClientRequestInputSource()

ESTHttpResponse resp = client.doRequest(priorResponse.getRequestToRetry());
return handleEnrollResponse(resp);
}
public ESTEnrollmentResponse simpleEnroll(boolean reenroll, PKCS10CertificationRequest certificationRequest, ESTHttpAuth auth)
throws Exception
{
if (tlsTrustAnchors == null || tlsTrustAnchors.isEmpty())
{
throw new IllegalStateException("No trust anchors.");
}
final byte[] data = annotateRequest(certificationRequest.getEncoded()).getBytes();
URL url = new URL(server + (reenroll ? SIMPLE_REENROLL : SIMPLE_ENROLL));
ESTHttpClient client = clientProvider.makeHttpClient(this.tlsAuthorizer);
ESTHttpRequest req = new ESTHttpRequest("POST", url, new ESTClientRequestInputSource()
