ToString() public method

public ToString ( ) : string
return string
Example #1
0
        public override string ToString()
        {
            string        sep = Org.BouncyCastle.Utilities.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());
        }