diff options
Diffstat (limited to 'crypto/src/pkix/Rfc3280CertPathUtilities.cs')
-rw-r--r-- | crypto/src/pkix/Rfc3280CertPathUtilities.cs | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |