Searched refs:SingleValueConstraint (Results 1 – 11 of 11) sorted by relevance
/external/python/pyasn1/tests/type/ |
D | test_constraint.py | 24 self.c1 = constraint.SingleValueConstraint(1, 2) 25 self.c2 = constraint.SingleValueConstraint(3, 4) 53 constraint.SingleValueConstraint(12) 198 constraint.SingleValueConstraint(4), 203 assert constraint.SingleValueConstraint(4) in self.c1, '__cmp__() fails' 206 assert constraint.SingleValueConstraint(5) not in self.c1, \ 211 constraint.SingleValueConstraint(4), 218 constraint.ConstraintsIntersection(constraint.SingleValueConstraint(5)) 240 constraint.SingleValueConstraint(4) 255 (0, constraint.SingleValueConstraint(4), 'PRESENT'), [all …]
|
D | test_univ.py | 307 subtypeSpec=constraint.SingleValueConstraint(1, 3) 312 subtypeSpec=constraint.ConstraintsIntersection(constraint.SingleValueConstraint(1, 3)) 997 subtypeSpec=constraint.SingleValueConstraint(str2octs('abc')))) 1001 'abc', subtypeSpec=constraint.SingleValueConstraint(str2octs('abc')))) 1029 … subtypeSpec=constraint.ConstraintsUnion(constraint.SingleValueConstraint(str2octs('cba')))) 1378 … subtypeSpec=constraint.ConstraintsUnion(constraint.SingleValueConstraint(str2octs('cba'))))
|
/external/python/pyasn1/docs/source/pyasn1/type/constraint/ |
D | singlevalue.rst | 2 .. _constrain.SingleValueConstraint: 4 .. |Constraint| replace:: SingleValueConstraint 9 .. autoclass:: pyasn1.type.constraint.SingleValueConstraint
|
/external/python/pyasn1-modules/pyasn1_modules/ |
D | rfc8018.py | 201 subtypeSpec=constraint.SingleValueConstraint(16))), 205 univ.Integer().subtype(subtypeSpec=constraint.SingleValueConstraint(64, 128))),
|
D | rfc6031.py | 158 Encoding.subtypeSpec = constraint.SingleValueConstraint( 289 PSKCKeyUsage.subtypeSpec = constraint.SingleValueConstraint( 314 PINUsageMode.subtypeSpec = constraint.SingleValueConstraint(
|
D | rfc5084.py | 41 AES_CCM_ICVlen.subtypeSpec = constraint.SingleValueConstraint(4, 6, 8, 10, 12, 14, 16)
|
D | rfc6664.py | 91 subtypeSpec = constraint.SingleValueConstraint(1024, 2048, 3072, 7680, 15360)
|
D | rfc2985.py | 336 GenderString.subtypeSpec = constraint.SingleValueConstraint("M", "F", "m", "f")
|
D | rfc2459.py | 904 …subtypeSpec = univ.ObjectIdentifier.subtypeSpec + constraint.SingleValueConstraint(id_qt_cps, id_q…
|
/external/python/pyasn1/pyasn1/type/ |
D | constraint.py | 100 class SingleValueConstraint(AbstractConstraint): class 301 class PermittedAlphabetConstraint(SingleValueConstraint):
|
D | univ.py | 336 subtypeSpec = Integer.subtypeSpec + constraint.SingleValueConstraint(0, 1) 1105 subtypeSpec = OctetString.subtypeSpec + constraint.SingleValueConstraint(octets.str2octs(''))
|