diff options
Diffstat (limited to 'crypto/src/asn1/x509/DistributionPointName.cs')
-rw-r--r-- | crypto/src/asn1/x509/DistributionPointName.cs | 6 |
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; |