summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/pkix/PkixNameConstraintValidator.cs12
-rw-r--r--crypto/src/pkix/Rfc3280CertPathUtilities.cs8
2 files changed, 10 insertions, 10 deletions
diff --git a/crypto/src/pkix/PkixNameConstraintValidator.cs b/crypto/src/pkix/PkixNameConstraintValidator.cs
index 879054c7f..7a9e3f45e 100644
--- a/crypto/src/pkix/PkixNameConstraintValidator.cs
+++ b/crypto/src/pkix/PkixNameConstraintValidator.cs
@@ -1366,10 +1366,10 @@ namespace Org.BouncyCastle.Pkix
         }
 
         /// <exception cref="PkixNameConstraintValidatorException"/>
-        [Obsolete("Use 'CheckPermitted' instead")]
+        [Obsolete("Use 'CheckPermittedName' instead")]
         public void checkPermitted(GeneralName name)
         {
-            CheckPermitted(name);
+            CheckPermittedName(name);
         }
 
         /**
@@ -1380,7 +1380,7 @@ namespace Org.BouncyCastle.Pkix
          *          If the <code>name</code>
          */
         /// <exception cref="PkixNameConstraintValidatorException"/>
-        public void CheckPermitted(GeneralName name)
+        public void CheckPermittedName(GeneralName name)
         {
             switch (name.TagNo)
             {
@@ -1406,10 +1406,10 @@ namespace Org.BouncyCastle.Pkix
         }
 
         /// <exception cref="PkixNameConstraintValidatorException"/>
-        [Obsolete("Use 'CheckExcluded' instead")]
+        [Obsolete("Use 'CheckExcludedName' instead")]
         public void checkExcluded(GeneralName name)
         {
-            CheckExcluded(name);
+            CheckExcludedName(name);
         }
 
         /**
@@ -1421,7 +1421,7 @@ namespace Org.BouncyCastle.Pkix
          *          excluded.
          */
         /// <exception cref="PkixNameConstraintValidatorException"/>
-        public void CheckExcluded(GeneralName name)
+        public void CheckExcludedName(GeneralName name)
         {
             switch (name.TagNo)
             {
diff --git a/crypto/src/pkix/Rfc3280CertPathUtilities.cs b/crypto/src/pkix/Rfc3280CertPathUtilities.cs
index 3383bf09f..f1a85eb09 100644
--- a/crypto/src/pkix/Rfc3280CertPathUtilities.cs
+++ b/crypto/src/pkix/Rfc3280CertPathUtilities.cs
@@ -278,8 +278,8 @@ namespace Org.BouncyCastle.Pkix
 					GeneralName emailAsGeneralName = new GeneralName(GeneralName.Rfc822Name, email);
 					try
 					{
-						nameConstraintValidator.CheckPermitted(emailAsGeneralName);
-						nameConstraintValidator.CheckExcluded(emailAsGeneralName);
+						nameConstraintValidator.CheckPermittedName(emailAsGeneralName);
+						nameConstraintValidator.CheckExcludedName(emailAsGeneralName);
 					}
 					catch (PkixNameConstraintValidatorException ex)
 					{
@@ -303,8 +303,8 @@ namespace Org.BouncyCastle.Pkix
 					{
 						try
 						{
-							nameConstraintValidator.CheckPermitted(genName);
-							nameConstraintValidator.CheckExcluded(genName);
+							nameConstraintValidator.CheckPermittedName(genName);
+							nameConstraintValidator.CheckExcludedName(genName);
 						}
 						catch (PkixNameConstraintValidatorException e)
 						{