Exemple #1
0
    def s(self, value):
        # type: (int) -> None
        validate_integer(value)
        validate_gte(value, 0)
        validate_lt_secpk1n(value)

        self._s = value
Exemple #2
0
    def v(self, value):
        # type: (int) -> None
        validate_integer(value)
        validate_gte(value, minimum=0)
        validate_lte(value, maximum=1)

        self._v = value
Exemple #3
0
    def s(self, value: int) -> None:
        validate_integer(value)
        validate_gte(value, 0)
        validate_lt_secpk1n(value)

        self._s = value
Exemple #4
0
    def r(self, value):
        validate_integer(value)
        validate_gte(value, 0)
        validate_lt_secpk1n(value)

        self._r = value
Exemple #5
0
    def v(self, value):
        validate_integer(value)
        validate_gte(value, minimum=0)
        validate_lte(value, maximum=1)

        self._v = value