org.opcfoundation.ua.core
Enum MessageSecurityMode
java.lang.Object
java.lang.Enum<MessageSecurityMode>
org.opcfoundation.ua.core.MessageSecurityMode
- All Implemented Interfaces:
- Serializable, Comparable<MessageSecurityMode>, Enumeration
public enum MessageSecurityMode
- extends Enum<MessageSecurityMode>
- implements Enumeration
Invalid
public static final MessageSecurityMode Invalid
None
public static final MessageSecurityMode None
Sign
public static final MessageSecurityMode Sign
SignAndEncrypt
public static final MessageSecurityMode SignAndEncrypt
ID
public static final NodeId ID
NONE
public static EnumSet<MessageSecurityMode> NONE
ALL
public static EnumSet<MessageSecurityMode> ALL
values
public static MessageSecurityMode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MessageSecurityMode c : MessageSecurityMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MessageSecurityMode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getValue
public int getValue()
- Description copied from interface:
Enumeration
getValue.
- Specified by:
getValue in interface Enumeration
- Returns:
- a int.
valueOf
public static MessageSecurityMode valueOf(int value)
valueOf
public static MessageSecurityMode valueOf(UnsignedInteger value)
valueOf
public static MessageSecurityMode[] valueOf(int[] value)
valueOf
public static MessageSecurityMode[] valueOf(Integer[] value)
valueOf
public static MessageSecurityMode[] valueOf(UnsignedInteger[] value)
hasSigning
public boolean hasSigning()
hasEncryption
public boolean hasEncryption()
Copyright © 2018. All rights reserved.