AbstractAttachment

abstract class AbstractAttachment(dataLoader: () -> ByteArray, val uploader: String?) : Attachment

Constructors

Link copied to clipboard
constructor(dataLoader: () -> ByteArray, uploader: String?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
abstract val id: SecureHash
Link copied to clipboard
open override val signerKeys: List<PublicKey>

The keys that have correctly signed the whole attachment. Can be empty, for example non-contract attachments won't be necessarily be signed.

Link copied to clipboard
open override val signers: List<Party>

The parties that have correctly signed the whole attachment. Even though this returns a list of party objects, it is not required that these parties exist on the network, but rather they are a mapping from the signing key to the X.500 name.

Link copied to clipboard
open override val size: Int

Attachment size in bytes.

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun extractFile(path: String, outputTo: OutputStream): <Error class: unknown class>

Finds the named file case insensitively and copies it to the output stream.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open override fun open(): InputStream
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String