public XmlElement GetXml()
{
XmlDocument creationXmlDocument;
XmlElement retVal;
creationXmlDocument = new XmlDocument();
retVal = creationXmlDocument.CreateElement("CertRefs", XadesSignedXml.XadesNamespaceUri);
if (this.certCollection.Count > 0)
{
foreach (Cert cert in this.certCollection)
{
if (cert.HasChanged())
{
retVal.AppendChild(creationXmlDocument.ImportNode(cert.GetXml(), true));
}
}
}
return retVal;
}
#endregion