public enum OCSPPolicy extends java.lang.Enum<OCSPPolicy>
| Enum Constant and Description |
|---|
NONE
No OCSP check.
|
RECEIVER_MANDATORY
Mandatory OCSP check done by the receiver of the message (i.e. intended recipient or intermediate ‘Message Storage Service’).
|
RECEIVER_OPTIONAL
OCSP call done by the receiver if not done by the sender.
|
SENDER_MANDATORY
Mandatory OCSP check done by the sender.
|
SENDER_OPTIONAL
Optional OCSP check.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLevel() |
static OCSPPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OCSPPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OCSPPolicy NONE
public static final OCSPPolicy SENDER_OPTIONAL
public static final OCSPPolicy RECEIVER_OPTIONAL
public static final OCSPPolicy SENDER_MANDATORY
public static final OCSPPolicy RECEIVER_MANDATORY
public static OCSPPolicy[] values()
for (OCSPPolicy c : OCSPPolicy.values()) System.out.println(c);
public static OCSPPolicy 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 nullpublic int getLevel()
Copyright © 2025 eHealth. All rights reserved.