diff options
Diffstat (limited to 'crypto/src/pkix/PkixCertPathValidatorResult.cs')
-rw-r--r-- | crypto/src/pkix/PkixCertPathValidatorResult.cs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/crypto/src/pkix/PkixCertPathValidatorResult.cs b/crypto/src/pkix/PkixCertPathValidatorResult.cs index e316128b0..7df3eab21 100644 --- a/crypto/src/pkix/PkixCertPathValidatorResult.cs +++ b/crypto/src/pkix/PkixCertPathValidatorResult.cs @@ -57,13 +57,12 @@ namespace Org.BouncyCastle.Pkix public override string ToString() { - StringBuilder sB = new StringBuilder(); - sB.Append("PKIXCertPathValidatorResult: [ \n"); - sB.Append(" Trust Anchor: ").Append(this.TrustAnchor).Append('\n'); - sB.Append(" Policy Tree: ").Append(this.PolicyTree).Append('\n'); - sB.Append(" Subject Public Key: ").Append(this.SubjectPublicKey).Append("\n]"); - return sB.ToString(); + StringBuilder sb = new StringBuilder(); + sb.AppendLine("PKIXCertPathValidatorResult: ["); + sb.Append(" Trust Anchor: ").AppendLine(TrustAnchor.ToString()); + sb.Append(" Policy Tree: ").AppendLine(PolicyTree.ToString()); + sb.Append(" Subject Public Key: ").AppendLine(SubjectPublicKey.ToString()); + return sb.ToString(); } - } } |