From 219f2ca1194b7c3c15f43af80ebbf0417abf0116 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 25 Jan 2023 00:22:45 +0700 Subject: Fix method name (obsolete old one) --- crypto/src/pkix/PkixParameters.cs | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/crypto/src/pkix/PkixParameters.cs b/crypto/src/pkix/PkixParameters.cs index 89124f2e9..0eb43c000 100644 --- a/crypto/src/pkix/PkixParameters.cs +++ b/crypto/src/pkix/PkixParameters.cs @@ -542,19 +542,25 @@ namespace Org.BouncyCastle.Pkix return new List>(m_storesCrl); } + [Obsolete("Use 'SetStoresAttrCert' instead")] public virtual void SetAttrStoresCert(IList> storesAttrCert) { - if (storesAttrCert == null) - { - m_storesAttrCert = new List>(); - } - else - { - m_storesAttrCert = new List>(storesAttrCert); - } + SetStoresAttrCert(storesAttrCert); } - public virtual void SetStoresCert(IList> storesCert) + public virtual void SetStoresAttrCert(IList> storesAttrCert) + { + if (storesAttrCert == null) + { + m_storesAttrCert = new List>(); + } + else + { + m_storesAttrCert = new List>(storesAttrCert); + } + } + + public virtual void SetStoresCert(IList> storesCert) { if (storesCert == null) { -- cgit 1.4.1