diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-25 00:13:45 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-25 00:13:45 +0700 |
commit | 11b4d6a7afeb6f3be906a1a0ddf132df3f255b4a (patch) | |
tree | f76b51eae3e754f33c61dde13c7dd429e0f70753 /crypto/src/asn1/x509/X509DefaultEntryConverter.cs | |
parent | fixed refactored class names in pqc/utils (diff) | |
download | BouncyCastle.NET-ed25519-11b4d6a7afeb6f3be906a1a0ddf132df3f255b4a.tar.xz |
Add Asn1GeneralizedTime and use
Diffstat (limited to 'crypto/src/asn1/x509/X509DefaultEntryConverter.cs')
-rw-r--r-- | crypto/src/asn1/x509/X509DefaultEntryConverter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/x509/X509DefaultEntryConverter.cs b/crypto/src/asn1/x509/X509DefaultEntryConverter.cs index 7282ead26..d155efc5a 100644 --- a/crypto/src/asn1/x509/X509DefaultEntryConverter.cs +++ b/crypto/src/asn1/x509/X509DefaultEntryConverter.cs @@ -46,7 +46,7 @@ namespace Org.BouncyCastle.Asn1.X509 if (oid.Equals(X509Name.DateOfBirth)) // accept time string as well as # (for compatibility) { - return new DerGeneralizedTime(value); + return new Asn1GeneralizedTime(value); } if (oid.Equals(X509Name.C) |