debug("verifying sig=" + sig + " key=" + key);
logger.log (Component.X509, "verifying sig={0} key={1}", new Object[] { sig, key });
  private void doVerify(Signature sig, PublicKey key)    throws CertificateException, InvalidKeyException, SignatureException  {    debug("verifying sig=" + sig + " key=" + key);    sig.initVerify(key);    sig.update(tbsCertBytes);    if (!sig.verify(signature))  {        throw new CertificateException("signature not validated");      }  }