corda / net.corda.core.messaging / CordaRPCOps / openAttachment

openAttachment

abstract fun openAttachment(id: SecureHash): InputStream

Download an attachment JAR by ID.

Parameters

id - the id of the attachment to open

Exceptions

RPCException - if the attachment doesn't exist

Return
the stream of the JAR