|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CertificateCheck>
org.opcfoundation.ua.cert.CertificateCheck
public enum CertificateCheck
Certificate checks that the Validator performs. The values are used to define which checks passed in the validator.
DefaultCertificateStoreListener| Enum Constant Summary | |
|---|---|
SelfSigned
is the certificate signed by the certificate itself (this can be OK) |
|
Signature
is the certificate signed by a trusted signer (or self) |
|
Trusted
is the certificate already defined as trusted, i.e. it is found from the TrustedDir or added to the validator using addTrustedCertificate |
|
Uri
does the certificate contain the applicationUri, equal to the one in the ApplicationDescription. |
|
UriValid
validity of the URI |
|
Validity
is the certificate time valid |
|
| Field Summary | |
|---|---|
static EnumSet<CertificateCheck> |
COMPULSORY
All tests that must pass, to accept the certificate. |
| Method Summary | |
|---|---|
static CertificateCheck |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CertificateCheck[] |
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 |
|---|
public static final CertificateCheck SelfSigned
public static final CertificateCheck Signature
public static final CertificateCheck Trusted
public static final CertificateCheck Uri
public static final CertificateCheck UriValid
public static final CertificateCheck Validity
| Field Detail |
|---|
public static EnumSet<CertificateCheck> COMPULSORY
| Method Detail |
|---|
public static CertificateCheck[] values()
for (CertificateCheck c : CertificateCheck.values()) System.out.println(c);
public static CertificateCheck valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||