summary refs log tree commit diff
path: root/crypto/src/x509/X509V2AttributeCertificateGenerator.cs
diff options
context:
space:
mode:
authorroyb <roy.basmacier@primekey.com>2022-10-24 15:58:10 -0400
committerroyb <roy.basmacier@primekey.com>2022-10-24 15:58:10 -0400
commit7f5568591d17d3c256d42760fbf43c8544c6f2b8 (patch)
tree7d69619a03f10e108143b3454a9d6d3ca9272fcb /crypto/src/x509/X509V2AttributeCertificateGenerator.cs
parentAdded Aes and Uniform variant to Saber (diff)
parentAdd Asn1GeneralizedTime and use (diff)
downloadBouncyCastle.NET-ed25519-7f5568591d17d3c256d42760fbf43c8544c6f2b8.tar.xz
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'crypto/src/x509/X509V2AttributeCertificateGenerator.cs')
-rw-r--r--crypto/src/x509/X509V2AttributeCertificateGenerator.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/x509/X509V2AttributeCertificateGenerator.cs b/crypto/src/x509/X509V2AttributeCertificateGenerator.cs
index 1cb239e87..3a0a02ea9 100644
--- a/crypto/src/x509/X509V2AttributeCertificateGenerator.cs
+++ b/crypto/src/x509/X509V2AttributeCertificateGenerator.cs
@@ -54,13 +54,13 @@ namespace Org.BouncyCastle.X509
 		public void SetNotBefore(
 			DateTime date)
 		{
-			acInfoGen.SetStartDate(new DerGeneralizedTime(date));
+			acInfoGen.SetStartDate(new Asn1GeneralizedTime(date));
 		}
 
 		public void SetNotAfter(
 			DateTime date)
 		{
-			acInfoGen.SetEndDate(new DerGeneralizedTime(date));
+			acInfoGen.SetEndDate(new Asn1GeneralizedTime(date));
 		}
 
 		/// <summary>Add an attribute.</summary>