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