public override string ToString()
        {
            string        sep = Platform.NewLine;
            StringBuilder buf = new StringBuilder();

            buf.Append("IssuingDistributionPoint: [");
            buf.Append(sep);
            if (_distributionPoint != null)
            {
                appendObject(buf, sep, "distributionPoint", _distributionPoint.ToString());
            }
            if (_onlyContainsUserCerts)
            {
                appendObject(buf, sep, "onlyContainsUserCerts", _onlyContainsUserCerts.ToString());
            }
            if (_onlyContainsCACerts)
            {
                appendObject(buf, sep, "onlyContainsCACerts", _onlyContainsCACerts.ToString());
            }
            if (_onlySomeReasons != null)
            {
                appendObject(buf, sep, "onlySomeReasons", _onlySomeReasons.ToString());
            }
            if (_onlyContainsAttributeCerts)
            {
                appendObject(buf, sep, "onlyContainsAttributeCerts", _onlyContainsAttributeCerts.ToString());
            }
            if (_indirectCRL)
            {
                appendObject(buf, sep, "indirectCRL", _indirectCRL.ToString());
            }
            buf.Append("]");
            buf.Append(sep);
            return(buf.ToString());
        }
示例#2
0
        public override string ToString()
        {
            string        sep = Platform.NewLine;
            StringBuilder buf = new StringBuilder();

            buf.Append("DistributionPoint: [");
            buf.Append(sep);
            if (distributionPoint != null)
            {
                appendObject(buf, sep, "distributionPoint", distributionPoint.ToString());
            }
            if (reasons != null)
            {
                appendObject(buf, sep, "reasons", reasons.ToString());
            }
            if (cRLIssuer != null)
            {
                appendObject(buf, sep, "cRLIssuer", cRLIssuer.ToString());
            }
            buf.Append("]");
            buf.Append(sep);
            return(buf.ToString());
        }