summary refs log tree commit diff
path: root/crypto/src/asn1
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-02-07 14:42:21 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-02-07 14:42:21 +0700
commitc2f2046b6fa20030916f113c48aad8a9db00343b (patch)
tree09243399fc7cc92435b91bcd7e011dc6656913b1 /crypto/src/asn1
parentRefactor PopoPrivKey (diff)
downloadBouncyCastle.NET-ed25519-c2f2046b6fa20030916f113c48aad8a9db00343b.tar.xz
Obsolete/rename property
Diffstat (limited to 'crypto/src/asn1')
-rw-r--r--crypto/src/asn1/x509/DistributionPointName.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/src/asn1/x509/DistributionPointName.cs b/crypto/src/asn1/x509/DistributionPointName.cs
index 6b12d5b9a..1c0455413 100644
--- a/crypto/src/asn1/x509/DistributionPointName.cs
+++ b/crypto/src/asn1/x509/DistributionPointName.cs
@@ -1,3 +1,4 @@
+using System;
 using System.Text;
 
 namespace Org.BouncyCastle.Asn1.X509
@@ -45,11 +46,14 @@ namespace Org.BouncyCastle.Asn1.X509
             m_name = name;
         }
 
+        [Obsolete("Use 'Type' instead")]
 		public int PointType => m_type;
 
 		public Asn1Encodable Name => m_name;
 
-		public DistributionPointName(Asn1TaggedObject obj)
+        public int Type => m_type;
+
+        public DistributionPointName(Asn1TaggedObject obj)
         {
             m_type = obj.TagNo;