/// <summary>
        /// Initializes a new instance of the <see cref="X509DocumentSource"/> class.
        /// </summary>
        /// <param name="x509">The X509.</param>
        public X509DocumentSource(X509Object x509)
        {
            if (x509 == null)
                throw new ArgumentNullException("x509");

            X509Data = x509;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="X509DocumentSource"/> class.
        /// </summary>
        /// <param name="x509">The X509.</param>
        public X509DocumentSource(X509Object x509)
        {
            if (x509 == null)
            {
                throw new ArgumentNullException("x509");
            }

            X509Data = x509;
        }