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

net.optionfactory.jma.message.EncryptedMessage Maven / Gradle / Ivy

The newest version!
package net.optionfactory.jma.message;

import net.optionfactory.jma.MessageAuthentication;

public class EncryptedMessage {

    @MessageAuthentication(mode = MessageAuthentication.Mode.AUTHENTICATED_ENCRYPTED)
    public T value;

    public static  EncryptedMessage of(T value) {
        final EncryptedMessage message = new EncryptedMessage<>();
        message.value = value;
        return message;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy