public virtual bool IsSignedBy(X509Certificate potentialIssuer)
{
try
{
//timeStamp.Validate(potentialIssuer, "BC");
timeStamp.Validate(potentialIssuer);
return true;
}
catch (CertificateExpiredException)
{
return false;
}
catch (CertificateNotYetValidException)
{
return false;
}
catch (TspValidationException)
{
return false;
}
/*catch (NoSuchProviderException e)
{
throw new RuntimeException(e);
}*/
catch (TspException)
{
return false;
}
}