diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-30 18:37:42 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-01-30 18:37:42 +0700 |
commit | 69881d436e64f0d8320ab8776685f5a228789514 (patch) | |
tree | 3cd32a90d734c89ee0ee516d39106015b4a2a2e6 /crypto/src/pkix | |
parent | Ensure configured SecureRandom is passed on (diff) | |
download | BouncyCastle.NET-ed25519-69881d436e64f0d8320ab8776685f5a228789514.tar.xz |
Change method names
Diffstat (limited to 'crypto/src/pkix')
-rw-r--r-- | crypto/src/pkix/PkixNameConstraintValidator.cs | 12 | ||||
-rw-r--r-- | crypto/src/pkix/Rfc3280CertPathUtilities.cs | 8 |
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) { |