public static enum PeerConnection.TlsCertPolicy extends java.lang.Enum<PeerConnection.TlsCertPolicy>
Enum Constant and Description |
---|
TLS_CERT_POLICY_INSECURE_NO_CHECK |
TLS_CERT_POLICY_SECURE |
Modifier and Type | Method and Description |
---|---|
static PeerConnection.TlsCertPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PeerConnection.TlsCertPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeerConnection.TlsCertPolicy TLS_CERT_POLICY_SECURE
public static final PeerConnection.TlsCertPolicy TLS_CERT_POLICY_INSECURE_NO_CHECK
public static PeerConnection.TlsCertPolicy[] values()
for (PeerConnection.TlsCertPolicy c : PeerConnection.TlsCertPolicy.values()) System.out.println(c);
public static PeerConnection.TlsCertPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null7.0.0