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

net.optionfactory.jma.MessageAuthentication Maven / Gradle / Ivy

The newest version!
package net.optionfactory.jma;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MessageAuthentication {

    public enum Mode {
        AUTHENTICATED, AUTHENTICATED_ENCRYPTED;
    }

    Mode mode() default Mode.AUTHENTICATED_ENCRYPTED;

    long validityMs() default 0;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy