public enum MessageSecurityMode extends Enum<MessageSecurityMode> implements UaEnumeration
Enum Constant and Description |
---|
Invalid |
None |
Sign |
SignAndEncrypt |
Modifier and Type | Method and Description |
---|---|
static MessageSecurityMode |
decode(UaDecoder decoder) |
static void |
encode(MessageSecurityMode messageSecurityMode,
UaEncoder encoder) |
static MessageSecurityMode |
from(Integer value) |
int |
getValue() |
static MessageSecurityMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageSecurityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageSecurityMode Invalid
public static final MessageSecurityMode None
public static final MessageSecurityMode Sign
public static final MessageSecurityMode SignAndEncrypt
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 int getValue()
getValue
in interface UaEnumeration
public static MessageSecurityMode from(Integer value)
public static void encode(MessageSecurityMode messageSecurityMode, UaEncoder encoder)
public static MessageSecurityMode decode(UaDecoder decoder)
Copyright © 2020. All rights reserved.