Hi all,

 

This code works fine with sha256RSA, sha256ECDSA, and sha384ECDSA, but it
failed with RSASSA-PSS with sha256.

 

private bool IsSignatureValid(BasicOcspResp or, X509Certificate
responderCert)

{

try

     {                    

return or.Verify(responderCert.GetPublicKey());

      }

      catch(OcspException)

      {

              return false;

      }

}

 

Any help will be appreciated.

 

Thanks,

 

Alberto

Reply via email to