init(n:e:)

    Construct an RSA public key with the specified parameters.

    RSA.swift:114
    init(n: some ContiguousBytes, e: some ContiguousBytes) throws

    Only the BoringSSL backend provides APIs to create a key from its parameters so we first create a BoringSSL key, and then pass it to the platform-specific initializer that accepts a BoringSSL key.

    On Darwin platforms, this will serialize it to PEM format, and then construct a platform-specific key from the PEM representation.

    Other members in extension

    Types

    Type members

    Instance members