コード例 #1
0
        /// <summary>
        /// Return a printable representation of this
        /// {@code PKIXCertPathValidatorResult}.
        /// </summary>
        /// <returns> a {@code String} describing the contents of this
        ///         {@code PKIXCertPathValidatorResult} </returns>
        public override String ToString()
        {
            StringBuffer sb = new StringBuffer();

            sb.Append("PKIXCertPathValidatorResult: [\n");
            sb.Append("  Trust Anchor: " + TrustAnchor_Renamed.ToString() + "\n");
            sb.Append("  Policy Tree: " + Convert.ToString(PolicyTree_Renamed) + "\n");
            sb.Append("  Subject Public Key: " + SubjectPublicKey + "\n");
            sb.Append("]");
            return(sb.ToString());
        }
コード例 #2
0
        /// <summary>
        /// Return a printable representation of this
        /// {@code PKIXCertPathBuilderResult}.
        /// </summary>
        /// <returns> a {@code String} describing the contents of this
        ///         {@code PKIXCertPathBuilderResult} </returns>
        public override String ToString()
        {
            StringBuffer sb = new StringBuffer();

            sb.Append("PKIXCertPathBuilderResult: [\n");
            sb.Append("  Certification Path: " + CertPath_Renamed + "\n");
            sb.Append("  Trust Anchor: " + TrustAnchor.ToString() + "\n");
            sb.Append("  Policy Tree: " + Convert.ToString(PolicyTree) + "\n");
            sb.Append("  Subject Public Key: " + PublicKey + "\n");
            sb.Append("]");
            return(sb.ToString());
        }