public enum SmimeState extends Enum<SmimeState>
SmimeState of a MimePart or MimeMultipart is
derived from the corresponding content type and can be obtained with
checkSignature();| Enum Constant and Description |
|---|
ENCRYPTED
Indicates that the
MimePart or MimeMultipart is S/MIME
encrypted. |
NEITHER
Indicates that the
MimePart or MimeMultipart is neither
S/MIME encrypted nor S/MIME signed. |
SIGNED
Indicates that the
MimePart or MimeMultipart is S/MIME
signed. |
| Modifier and Type | Method and Description |
|---|---|
static SmimeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmimeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmimeState ENCRYPTED
MimePart or MimeMultipart is S/MIME
encrypted.public static final SmimeState SIGNED
MimePart or MimeMultipart is S/MIME
signed.public static final SmimeState NEITHER
MimePart or MimeMultipart is neither
S/MIME encrypted nor S/MIME signed.public static SmimeState[] values()
for (SmimeState c : SmimeState.values()) System.out.println(c);
public static SmimeState 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 nullCopyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.