• Parse PEM-encoded RSA public key information into modulus and exponent and compute its fingerprint as defined by MTProto.

    Parameters

    • crypto: ICryptoProvider

      Crypto provider

    • key: string

      PEM-encoded RSA public key

    • old: boolean = false

      Whether this is an "old" key

    Returns TlPublicKey