예제 #1
0
 protected SignedInfo(System.IdentityModel.DictionaryManager dictionaryManager)
 {
     if (dictionaryManager == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("dictionaryManager");
     }
     this.signatureMethodElement = new ElementWithAlgorithmAttribute(dictionaryManager.XmlSignatureDictionary.SignatureMethod);
     this.dictionaryManager      = dictionaryManager;
 }
 protected SignedInfo(System.IdentityModel.DictionaryManager dictionaryManager)
 {
     if (dictionaryManager == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("dictionaryManager");
     }
     this.signatureMethodElement = new ElementWithAlgorithmAttribute(dictionaryManager.XmlSignatureDictionary.SignatureMethod);
     this.dictionaryManager = dictionaryManager;
 }
 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;
 }
 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;
 }
예제 #5
0
        public Reference(DictionaryManager dictionaryManager, string uri, object resolvedXmlSource)
        {
            if (dictionaryManager == null)
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("dictionaryManager");

            this.dictionaryManager = dictionaryManager;
            this.digestMethodElement = new ElementWithAlgorithmAttribute(dictionaryManager.XmlSignatureDictionary.DigestMethod);
            this.uri = uri;
            this.resolvedXmlSource = resolvedXmlSource;
        }