public void verify(PublicKey key, String provider)
     throws CertificateException, NoSuchAlgorithmException, InvalidKeyException,
         NoSuchProviderException, SignatureException {
   Signature sig = Signature.getInstance(sigAlgId.toString(), provider);
   doVerify(sig, key);
 }
 public String getSigAlgOID() {
   return sigAlgId.toString();
 }