|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PkiFileBasedCertificateValidator.CertificateCheck>
com.prosysopc.ua.PkiFileBasedCertificateValidator.CertificateCheck
public static enum PkiFileBasedCertificateValidator.CertificateCheck
Certificate checks that the Validator performs. The values are used to define which checks passed in the validator.
CertificateValidationListener| 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<PkiFileBasedCertificateValidator.CertificateCheck> |
COMPULSORY
All tests that must pass, to accept the certificate. |
| Method Summary | |
|---|---|
static PkiFileBasedCertificateValidator.CertificateCheck |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PkiFileBasedCertificateValidator.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 PkiFileBasedCertificateValidator.CertificateCheck SelfSigned
public static final PkiFileBasedCertificateValidator.CertificateCheck Signature
public static final PkiFileBasedCertificateValidator.CertificateCheck Trusted
public static final PkiFileBasedCertificateValidator.CertificateCheck Uri
public static final PkiFileBasedCertificateValidator.CertificateCheck UriValid
public static final PkiFileBasedCertificateValidator.CertificateCheck Validity
| Field Detail |
|---|
public static EnumSet<PkiFileBasedCertificateValidator.CertificateCheck> COMPULSORY
| Method Detail |
|---|
public static PkiFileBasedCertificateValidator.CertificateCheck[] values()
for (PkiFileBasedCertificateValidator.CertificateCheck c : PkiFileBasedCertificateValidator.CertificateCheck.values()) System.out.println(c);
public static PkiFileBasedCertificateValidator.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 | |||||||||