summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1UniversalTypes.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-10-25 23:32:48 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-10-25 23:32:48 +0700
commit5cfc4eae7e78d0299f5ebf47b45109805221a2d6 (patch)
tree91ae5b56a4ab011b38433066fba923e4a53ec3ae /crypto/src/asn1/Asn1UniversalTypes.cs
parentRefactor Pqc test configs (diff)
downloadBouncyCastle.NET-ed25519-5cfc4eae7e78d0299f5ebf47b45109805221a2d6.tar.xz
Add Asn1UtcTime and use
Diffstat (limited to 'crypto/src/asn1/Asn1UniversalTypes.cs')
-rw-r--r--crypto/src/asn1/Asn1UniversalTypes.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/Asn1UniversalTypes.cs b/crypto/src/asn1/Asn1UniversalTypes.cs
index d188988f6..f5b5d0498 100644
--- a/crypto/src/asn1/Asn1UniversalTypes.cs
+++ b/crypto/src/asn1/Asn1UniversalTypes.cs
@@ -49,7 +49,7 @@ namespace Org.BouncyCastle.Asn1
             case Asn1Tags.IA5String:                // [UNIVERSAL 22] IMPLICIT OCTET STRING (encode as if)
                 return DerIA5String.Meta.Instance;
             case Asn1Tags.UtcTime:                  // [UNIVERSAL 23] IMPLICIT VisibleString (restricted values)
-                return DerUtcTime.Meta.Instance;
+                return Asn1UtcTime.Meta.Instance;
             case Asn1Tags.GeneralizedTime:          // [UNIVERSAL 24] IMPLICIT VisibleString (restricted values)
                 return Asn1GeneralizedTime.Meta.Instance;
             case Asn1Tags.GraphicString:            // [UNIVERSAL 25] IMPLICIT OCTET STRING (encode as if)