diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-04-15 19:16:58 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-04-15 19:16:58 +0700 |
commit | d80d39b6bb395671b89e40c7af8a836337dd2636 (patch) | |
tree | 301b8d0fd4763086af5b2450da5c2aaca37d24da /crypto/src/pkix/Rfc3280CertPathUtilities.cs | |
parent | Code cleanup (diff) | |
download | BouncyCastle.NET-ed25519-d80d39b6bb395671b89e40c7af8a836337dd2636.tar.xz |
Refactor NameConstraints
Diffstat (limited to 'crypto/src/pkix/Rfc3280CertPathUtilities.cs')
-rw-r--r-- | crypto/src/pkix/Rfc3280CertPathUtilities.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/pkix/Rfc3280CertPathUtilities.cs b/crypto/src/pkix/Rfc3280CertPathUtilities.cs index 1d912264e..1a2346d9e 100644 --- a/crypto/src/pkix/Rfc3280CertPathUtilities.cs +++ b/crypto/src/pkix/Rfc3280CertPathUtilities.cs @@ -1619,7 +1619,7 @@ namespace Org.BouncyCastle.Pkix PkixCertPathValidatorUtilities.GetExtensionValue(cert, X509Extensions.NameConstraints)); if (ncSeq != null) { - nc = new NameConstraints(ncSeq); + nc = NameConstraints.GetInstance(ncSeq); } } catch (Exception e) |