org.opcfoundation.ua.core
Enum TrustListMasks
java.lang.Object
java.lang.Enum<TrustListMasks>
org.opcfoundation.ua.core.TrustListMasks
- All Implemented Interfaces:
- Serializable, Comparable<TrustListMasks>, Enumeration
public enum TrustListMasks
- extends Enum<TrustListMasks>
- implements Enumeration
None
public static final TrustListMasks None
TrustedCertificates
public static final TrustListMasks TrustedCertificates
TrustedCrls
public static final TrustListMasks TrustedCrls
IssuerCertificates
public static final TrustListMasks IssuerCertificates
IssuerCrls
public static final TrustListMasks IssuerCrls
All
public static final TrustListMasks All
ID
public static final NodeId ID
NONE
public static EnumSet<TrustListMasks> NONE
ALL
public static EnumSet<TrustListMasks> ALL
values
public static TrustListMasks[] 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 (TrustListMasks c : TrustListMasks.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TrustListMasks 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 TrustListMasks valueOf(int value)
valueOf
public static TrustListMasks valueOf(Integer value)
valueOf
public static TrustListMasks valueOf(UnsignedInteger value)
valueOf
public static TrustListMasks[] valueOf(int[] value)
valueOf
public static TrustListMasks[] valueOf(Integer[] value)
valueOf
public static TrustListMasks[] valueOf(UnsignedInteger[] value)
getMask
public static UnsignedInteger getMask(TrustListMasks... list)
getMask
public static UnsignedInteger getMask(Collection<TrustListMasks> list)
getSet
public static EnumSet<TrustListMasks> getSet(UnsignedInteger mask)
getSet
public static EnumSet<TrustListMasks> getSet(int mask)
Copyright © 2018. All rights reserved.