public enum MessageSecurityMode extends Enum<MessageSecurityMode> implements Enumeration
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageSecurityMode.Builder |
| Enum Constant and Description |
|---|
None |
Sign |
SignAndEncrypt |
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<MessageSecurityMode> |
ALL |
static EnumSet<MessageSecurityMode> |
NONE |
static EnumerationSpecification |
SPECIFICATION |
| Modifier and Type | Method and Description |
|---|---|
static MessageSecurityMode.Builder |
builder() |
static UnsignedInteger |
getMask(Collection<MessageSecurityMode> list) |
static UnsignedInteger |
getMask(MessageSecurityMode... list) |
static EnumSet<MessageSecurityMode> |
getSet(int mask) |
static EnumSet<MessageSecurityMode> |
getSet(UnsignedInteger mask) |
int |
getValue()
Return the integer value of this enumeration value.
|
EnumerationSpecification |
specification()
Returns the specification of the
Enumeration. |
MessageSecurityMode.Builder |
toBuilder()
Returns a builder which can be used to make other instances of the
Enumeration. |
static MessageSecurityMode |
valueOf(int value) |
static MessageSecurityMode[] |
valueOf(int[] value) |
static MessageSecurityMode |
valueOf(Integer value) |
static MessageSecurityMode[] |
valueOf(Integer[] value) |
static MessageSecurityMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageSecurityMode |
valueOf(UnsignedInteger value) |
static MessageSecurityMode[] |
valueOf(UnsignedInteger[] value) |
static MessageSecurityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetDescription, getValueAsStringpublic static final MessageSecurityMode None
public static final MessageSecurityMode Sign
public static final MessageSecurityMode SignAndEncrypt
public static final EnumerationSpecification SPECIFICATION
public static final EnumSet<MessageSecurityMode> NONE
public static final EnumSet<MessageSecurityMode> ALL
public static MessageSecurityMode[] values()
for (MessageSecurityMode c : MessageSecurityMode.values()) System.out.println(c);
public static MessageSecurityMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic EnumerationSpecification specification()
EnumerationEnumeration.specification in interface Enumerationpublic static MessageSecurityMode valueOf(int value)
public static MessageSecurityMode valueOf(Integer value)
public static MessageSecurityMode valueOf(UnsignedInteger value)
public static MessageSecurityMode[] valueOf(int[] value)
public static MessageSecurityMode[] valueOf(Integer[] value)
public static MessageSecurityMode[] valueOf(UnsignedInteger[] value)
public static UnsignedInteger getMask(MessageSecurityMode... list)
public static UnsignedInteger getMask(Collection<MessageSecurityMode> list)
public static EnumSet<MessageSecurityMode> getSet(UnsignedInteger mask)
public static EnumSet<MessageSecurityMode> getSet(int mask)
public int getValue()
EnumerationgetValue in interface Enumerationpublic static MessageSecurityMode.Builder builder()
public MessageSecurityMode.Builder toBuilder()
EnumerationEnumeration.toBuilder in interface EnumerationCopyright © 2026. All rights reserved.