diff options
author | royb <roy.basmacier@primekey.com> | 2022-10-24 15:58:10 -0400 |
---|---|---|
committer | royb <roy.basmacier@primekey.com> | 2022-10-24 15:58:10 -0400 |
commit | 7f5568591d17d3c256d42760fbf43c8544c6f2b8 (patch) | |
tree | 7d69619a03f10e108143b3454a9d6d3ca9272fcb /crypto/src/x509/X509V2AttributeCertificateGenerator.cs | |
parent | Added Aes and Uniform variant to Saber (diff) | |
parent | Add Asn1GeneralizedTime and use (diff) | |
download | BouncyCastle.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.cs | 4 |
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> |