コード例 #1
0
 public Reference(DictionaryManager dictionaryManager, string uri, object resolvedXmlSource)
 {
     this.digestValueElement = new DigestValueElement();
     this.prefix = "";
     this.transformChain = new System.IdentityModel.TransformChain();
     if (dictionaryManager == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("dictionaryManager");
     }
     this.dictionaryManager = dictionaryManager;
     this.digestMethodElement = new ElementWithAlgorithmAttribute(dictionaryManager.XmlSignatureDictionary.DigestMethod);
     this.uri = uri;
     this.resolvedXmlSource = resolvedXmlSource;
 }
コード例 #2
0
 public Reference(DictionaryManager dictionaryManager, string uri, object resolvedXmlSource)
 {
     this.digestValueElement = new DigestValueElement();
     this.prefix             = "";
     this.transformChain     = new System.IdentityModel.TransformChain();
     if (dictionaryManager == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("dictionaryManager");
     }
     this.dictionaryManager   = dictionaryManager;
     this.digestMethodElement = new ElementWithAlgorithmAttribute(dictionaryManager.XmlSignatureDictionary.DigestMethod);
     this.uri = uri;
     this.resolvedXmlSource = resolvedXmlSource;
 }