ECDSASigner signer = new ECDSASigner(new BigInteger(1, d));
assertEquals("Private key check", new BigInteger(1, d), signer.getPrivateKey());
jwsObject.sign(signer);
assertEquals("State check", JWSObject.State.SIGNED, jwsObject.getState());
ECDSAVerifier verifier = new ECDSAVerifier(new BigInteger(1, x), new BigInteger(1, y));