Encrypt data with a provided public key (stream).

Accepts two multipart parts:
metadata – JSON (CryptoUtilityApi) with
kty, alg, publicKey
file – binary plaintext
Returns a streaming application/octet-stream response
without persisting the key.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Sequential multipart body — the parts are read in the order they arrive and the server never buffers the payload.

metadata MUST be sent before file. A file-first body is rejected with 400 application/problem+json, type .../errors/multipart-part-order. This is a property of streaming, not a policy: the server cannot look ahead past the payload to find the part that tells it what to do with it.

metadata is bounded at 2 MiB; file has no size limit.

metadata
object
required

Unified model for cryptographic key data in API operations.

file
required

Plaintext file (binary). No size limit.

Headers
string
enum
Defaults to application/problem+json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/problem+json