The types as opposed to the values?

Yeah I could be sold on that.

On May 6, 2014, at 2:41 PM, Alex Gaynor <notifications@github.com> wrote:

In cryptography/hazmat/primitives/asymmetric/rsa.py:

> @@ -257,3 +257,56 @@ def e(self):
>      @property
>      def n(self):
>          return self.modulus
> +
> +
> +class RSAPrivateNumbers(object):
> +    def __init__(self, p, q, d, dmp1, dmq1, iqmp,
> +                 public_numbers):
> +        self._p = p
> +        self._q = q
> +        self._d = d
> +        self._dmp1 = dmp1
> +        self._dmq1 = dmq1
> +        self._iqmp = iqmp
> +        self._public_numbers = public_numbers

Would it be reaosnable to suggest that the types should be validated?

—
Reply to this email directly or view it on
GitHub<https://github.com/pyca/cryptography/pull/984/files#r12350953>
.