File tree 2 files changed +6
-1
lines changed
src/rust/cryptography-x509-verification/src
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ requires = [
8
8
" cffi>=1.12; platform_python_implementation != 'PyPy'" ,
9
9
# Needed because cffi imports distutils, and in Python 3.12, distutils has
10
10
# been removed from the stdlib, but installing setuptools puts it back.
11
- " setuptools" ,
11
+ " setuptools!=74.0.0,!=74.1.0 " ,
12
12
]
13
13
build-backend = " maturin"
14
14
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ use asn1::IA5String;
10
10
// RFC 2822 3.2.4
11
11
static ATEXT_CHARS : & str = "!#$%&'*+-/=?^_`{|}~" ;
12
12
13
+ /// Represents a DNS name can be used in X.509 name matching.
14
+ ///
13
15
/// A `DNSName` is an `asn1::IA5String` with additional invariant preservations
14
16
/// per [RFC 5280 4.2.1.6], which in turn uses the preferred name syntax defined
15
17
/// in [RFC 1034 3.5] and amended in [RFC 1123 2.1].
@@ -100,6 +102,9 @@ impl PartialEq for DNSName<'_> {
100
102
}
101
103
}
102
104
105
+ /// Represents either a DNS name or a DNS wildcard for use in X.509 name
106
+ /// matching.
107
+ ///
103
108
/// A `DNSPattern` represents a subset of the domain name wildcard matching
104
109
/// behavior defined in [RFC 6125 6.4.3]. In particular, all DNS patterns
105
110
/// must either be exact matches (post-normalization) *or* a single wildcard
You can’t perform that action at this time.
0 commit comments