From a6593fddf3d6ddd81fd53caa4a7b983564d3ba9f Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sat, 10 Jun 2017 21:21:34 +0700 Subject: Misc. asn1 changes from Java API --- crypto/src/asn1/pkcs/CertificationRequest.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crypto/src/asn1/pkcs/CertificationRequest.cs') diff --git a/crypto/src/asn1/pkcs/CertificationRequest.cs b/crypto/src/asn1/pkcs/CertificationRequest.cs index 35bdd56eb..98caa2268 100644 --- a/crypto/src/asn1/pkcs/CertificationRequest.cs +++ b/crypto/src/asn1/pkcs/CertificationRequest.cs @@ -47,7 +47,8 @@ namespace Org.BouncyCastle.Asn1.Pkcs this.sigBits = signature; } - public CertificationRequest( + [Obsolete("Use 'GetInstance' instead")] + public CertificationRequest( Asn1Sequence seq) { if (seq.Count != 3) -- cgit 1.4.1