All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.fitko.fitconnect.api.domain.model.attachment.EncryptedAttachment Maven / Gradle / Ivy

Go to download

Library that provides client access to the FIT-Connect api-endpoints for sending, subscribing and routing

There is a newer version: 2.3.5
Show newest version
package dev.fitko.fitconnect.api.domain.model.attachment;

import lombok.EqualsAndHashCode;
import lombok.Getter;

import java.util.UUID;

@Getter
@EqualsAndHashCode
public class EncryptedAttachment {

    private final UUID attachmentId;
    private final String content;

    /**
     * Create a new encrypted attachment.
     *
     * @param attachmentId the attachmentId that matches with the announced attachmentId in the submissions metadata
     * @param content      encrypted content of the attachment
     */
    public EncryptedAttachment(final UUID attachmentId, final String content) {
        this.attachmentId = attachmentId;
        this.content = content;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy