claims.putResource(Resource.REVOKE_CERT);
claims.putBase64("certificate", cert.getEncoded());
if (reason != null) {
claims.put("reason", reason.getReasonCode());
}
<BUG>int rc = conn.sendSignedRequest(resUri, claims, getSession());
if (rc != HttpURLConnection.HTTP_OK) {
conn.throwAcmeException();
}</BUG>
} catch (CertificateEncodingException ex) {

claims.putResource(Resource.REVOKE_CERT);
claims.putBase64("certificate", cert.getEncoded());
if (reason != null) {
claims.put("reason", reason.getReasonCode());
}
conn.sendSignedRequest(resUri, claims, getSession());
conn.accept(HttpURLConnection.HTTP_OK);
} catch (CertificateEncodingException ex) {
