summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-11-06 13:24:42 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-11-06 13:24:42 +0700
commitcd11cd479daff0507da302b9459a14d3126b69ae (patch)
tree75bb51431cdae39fa73d9cda7ed14217fd15b2e0 /crypto/test
parentMore GOST 2012 registry entries (diff)
downloadBouncyCastle.NET-ed25519-cd11cd479daff0507da302b9459a14d3126b69ae.tar.xz
Update KeyPurposeID from bc-java
- obsolete old-style names
- add Kerberos entries (see https://github.com/bcgit/bc-csharp/pull/256)
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/tsp/test/TSPTestUtil.cs2
1 files changed, 1 insertions, 1 deletions
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(