public enum HttpsSecurityPolicy extends Enum<HttpsSecurityPolicy>
| Enum Constant and Description |
|---|
TLS_1_0
Deprecated.
This SecurityPolicy is Deprecated in the OPC UA Specification. Using this
SecurityPolicy in applications is not recommended and it should be disabled by
default in applications that allow choosing which SecurityPolicies to use.
|
TLS_1_1
Deprecated.
This SecurityPolicy is Deprecated in the OPC UA Specification. Using this
SecurityPolicy in applications is not recommended and it should be disabled by
default in applications that allow choosing which SecurityPolicies to use.
|
TLS_1_2
TLS 1.2.
|
TLS_1_2_PFS
TLS 1.2 with PFS.
|
| Modifier and Type | Field and Description |
|---|---|
static Set<HttpsSecurityPolicy> |
ALL_102
Deprecated.
These SecurityPolicies are Deprecated in the OPC UA Specification. Using these
SecurityPolicies in applications is not recommended and they should be disabled by
default in applications that allow choosing which SecurityPolicies to use.
|
static Set<HttpsSecurityPolicy> |
ALL_103
All HTTPS Security Policies defined in OPC UA 1.03.
|
static Set<HttpsSecurityPolicy> |
ALL_104
All HTTPS Security Policies defined in OPC UA 1.04.
|
static Set<HttpsSecurityPolicy> |
ALL_105
All HTTPS Security Policies defined in OPC UA 1.05.
|
static HttpsSecurityPolicy[] |
EMPTY_ARRAY
And empty array constant.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,HttpsSecurityPolicy> |
getAvailablePolicies()
Getter for the field
availablePolicies. |
String[] |
getCipherSuites()
Getter for the field
cipherSuites. |
int |
getMaxAsymmetricKeyLength()
Getter for the field
maxAsymmetricKeyLength. |
int |
getMinAsymmetricKeyLength()
Getter for the field
minAsymmetricKeyLength. |
String |
getPolicyUri()
Getter for the field
policyUri. |
String |
toString() |
static HttpsSecurityPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpsSecurityPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final HttpsSecurityPolicy TLS_1_0
@Deprecated public static final HttpsSecurityPolicy TLS_1_1
public static final HttpsSecurityPolicy TLS_1_2
TLS_1_2_PFS instead.public static final HttpsSecurityPolicy TLS_1_2_PFS
@Deprecated public static final Set<HttpsSecurityPolicy> ALL_102
public static final Set<HttpsSecurityPolicy> ALL_103
TLS_1_2_PFS.
TLS_1_2 is also included in the OPC UA specification, but it does not work with any
Java implementation. This set in unmodifiable.public static final Set<HttpsSecurityPolicy> ALL_104
TLS_1_2_PFS.
TLS_1_2 is also included in the OPC UA specification, but it does not work with any
Java implementation. This set in unmodifiable.public static final Set<HttpsSecurityPolicy> ALL_105
TLS_1_2_PFS.
TLS_1_2 is also included in the OPC UA specification, but it does not work with any
Java implementation. This set in unmodifiable.public static final HttpsSecurityPolicy[] EMPTY_ARRAY
Set.toArray(Object[]) more easily.public static HttpsSecurityPolicy[] values()
for (HttpsSecurityPolicy c : HttpsSecurityPolicy.values()) System.out.println(c);
public static HttpsSecurityPolicy 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 static Map<String,HttpsSecurityPolicy> getAvailablePolicies()
Getter for the field availablePolicies.
public String[] getCipherSuites()
Getter for the field cipherSuites.
String objects.public int getMaxAsymmetricKeyLength()
Getter for the field maxAsymmetricKeyLength.
public int getMinAsymmetricKeyLength()
Getter for the field minAsymmetricKeyLength.
public String toString()
toString in class Enum<HttpsSecurityPolicy>Copyright © 2026. All rights reserved.