@JsonClass(true) data class CredentialPreviewAttribute
Represents credential preview attribute
<init> |
Represents credential preview attribute CredentialPreviewAttribute(name: String, mimeType: String? = CredentialMimeTypes.TEXT_MIME_TYPE, value: String) |
mimeType |
is optional and advises the issuer how to render the value. val mimeType: String? |
name |
is the name of the attribute. val name: String |
value |
is the mandatory value of the attribute. If mime type is null, the value is a key-value pair in JSON. Otherwise it's a base64-encoded string of a binary BLOB, that should be interpreted as mime type. You can wrap the value in Base64NormalString if needed. val value: String |