From cd11cd479daff0507da302b9459a14d3126b69ae Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 6 Nov 2022 13:24:42 +0700 Subject: Update KeyPurposeID from bc-java - obsolete old-style names - add Kerberos entries (see https://github.com/bcgit/bc-csharp/pull/256) --- crypto/test/src/tsp/test/TSPTestUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/test/src') diff --git a/crypto/test/src/tsp/test/TSPTestUtil.cs b/crypto/test/src/tsp/test/TSPTestUtil.cs index abe153ac1..4e08bd76d 100644 --- a/crypto/test/src/tsp/test/TSPTestUtil.cs +++ b/crypto/test/src/tsp/test/TSPTestUtil.cs @@ -347,7 +347,7 @@ namespace Org.BouncyCastle.Tsp.Tests else { _v3CertGen.AddExtension(X509Extensions.ExtendedKeyUsage, true, - ExtendedKeyUsage.GetInstance(new DerSequence(KeyPurposeID.IdKPTimeStamping))); + ExtendedKeyUsage.GetInstance(new DerSequence(KeyPurposeID.id_kp_timeStamping))); } X509Certificate _cert = _v3CertGen.Generate( -- cgit 1.5.1