Skip to content

miniproto.auth.key_exchange.RSAKey.from_bytes

miniproto.auth.key_exchange.RSAKey.from_bytes

Section titled “miniproto.auth.key_exchange.RSAKey.from_bytes”
from_bytes(modulus: bytes, exponent: bytes) -> Self

Create a key from unsigned big-endian modulus and exponent bytes.

Parameters:

  • modulus (bytes) – Big-endian unsigned RSA modulus bytes.
  • exponent (bytes) – Big-endian unsigned RSA public exponent bytes.