Exemplo n.º 1
0
        public SignatureDescription(SecurityElement el)
        {
            ArgumentNullException.ThrowIfNull(el);

            KeyAlgorithm         = el.SearchForTextOfTag("Key");
            DigestAlgorithm      = el.SearchForTextOfTag("Digest");
            FormatterAlgorithm   = el.SearchForTextOfTag("Formatter");
            DeformatterAlgorithm = el.SearchForTextOfTag("Deformatter");
        }
 public SignatureDescription(SecurityElement el)
 {
     if (el == null)
         throw new ArgumentNullException(nameof(el));
     KeyAlgorithm = el.SearchForTextOfTag("Key");
     DigestAlgorithm = el.SearchForTextOfTag("Digest");
     FormatterAlgorithm = el.SearchForTextOfTag("Formatter");
     DeformatterAlgorithm = el.SearchForTextOfTag("Deformatter");
 }
 public SignatureDescription(SecurityElement el)
 {
     if (el == null)
     {
         throw new ArgumentNullException("el");
     }
     this._strKey         = el.SearchForTextOfTag("Key");
     this._strDigest      = el.SearchForTextOfTag("Digest");
     this._strFormatter   = el.SearchForTextOfTag("Formatter");
     this._strDeformatter = el.SearchForTextOfTag("Deformatter");
 }