corda / net.corda.core.node.services / AttachmentStorage / openAttachment

openAttachment

abstract fun openAttachment(id: AttachmentId): Attachment?

Returns a handle to a locally stored attachment, or null if it's not known. The handle can be used to open a stream for the data, which will be a zip/jar file.