storeAttachment

open suspend override fun storeAttachment(name: String, data: ByteArray, vcId: String)

Implementation should store the attachment in a secure way. Note that the data has not been validated since it may not be signed.

Parameters

name

Name of the Attachment

data

Data of the Attachment (a binary blob)

vcId

ID of the VC to this Attachment (see VerifiableCredential.id)