org.opcfoundation.ua.core
Enum MessageSecurityMode

java.lang.Object
  extended by java.lang.Enum<MessageSecurityMode>
      extended by org.opcfoundation.ua.core.MessageSecurityMode
All Implemented Interfaces:
Serializable, Comparable<MessageSecurityMode>, Enumeration

public enum MessageSecurityMode
extends Enum<MessageSecurityMode>
implements Enumeration


Enum Constant Summary
Invalid
           
None
           
Sign
           
SignAndEncrypt
           
 
Field Summary
static EnumSet<MessageSecurityMode> ALL
           
static NodeId ID
           
static EnumSet<MessageSecurityMode> NONE
           
 
Method Summary
 int getValue()
          getValue.
 boolean hasEncryption()
           
 boolean hasSigning()
           
static MessageSecurityMode valueOf(int value)
           
static MessageSecurityMode[] valueOf(int[] 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Invalid

public static final MessageSecurityMode Invalid

None

public static final MessageSecurityMode None

Sign

public static final MessageSecurityMode Sign

SignAndEncrypt

public static final MessageSecurityMode SignAndEncrypt
Field Detail

ID

public static final NodeId ID

NONE

public static EnumSet<MessageSecurityMode> NONE

ALL

public static EnumSet<MessageSecurityMode> ALL
Method Detail

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.