public virtual bool CheckXmldsigSignature()
{
bool retVal = false;
/*
KeyInfo keyInfo = new KeyInfo();
X509Certificate xmldsigCert = new X509Certificate(System.Text.Encoding.ASCII.GetBytes(this.KeyInfo.GetXml().InnerText));
keyInfo.AddClause(new KeyInfoX509Data(xmldsigCert));
this.KeyInfo = keyInfo;
*/
retVal = this.CheckSignature();
if (retVal == false)
{
throw new CryptographicException("CheckXmldsigSignature() failed");
}
return retVal;
}