summary refs log tree commit diff
path: root/crypto/src/pkix
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/pkix')
-rw-r--r--crypto/src/pkix/PkixParameters.cs24
1 files 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<IStore<X509Crl>>(m_storesCrl);
 		}
 
+		[Obsolete("Use 'SetStoresAttrCert' instead")]
 		public virtual void SetAttrStoresCert(IList<IStore<X509V2AttributeCertificate>> storesAttrCert)
 		{
-			if (storesAttrCert == null)
-			{
-				m_storesAttrCert = new List<IStore<X509V2AttributeCertificate>>();
-			}
-			else
-			{
-				m_storesAttrCert = new List<IStore<X509V2AttributeCertificate>>(storesAttrCert);
-			}
+			SetStoresAttrCert(storesAttrCert);
 		}
 
-		public virtual void SetStoresCert(IList<IStore<X509Certificate>> storesCert)
+        public virtual void SetStoresAttrCert(IList<IStore<X509V2AttributeCertificate>> storesAttrCert)
+        {
+            if (storesAttrCert == null)
+            {
+                m_storesAttrCert = new List<IStore<X509V2AttributeCertificate>>();
+            }
+            else
+            {
+                m_storesAttrCert = new List<IStore<X509V2AttributeCertificate>>(storesAttrCert);
+            }
+        }
+
+        public virtual void SetStoresCert(IList<IStore<X509Certificate>> storesCert)
 		{
 			if (storesCert == null)
 			{