From 69881d436e64f0d8320ab8776685f5a228789514 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Mon, 30 Jan 2023 18:37:42 +0700 Subject: Change method names --- crypto/src/pkix/Rfc3280CertPathUtilities.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crypto/src/pkix/Rfc3280CertPathUtilities.cs') 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) { -- cgit 1.4.1