public static enum Document.EncryptionMode extends Enum<Document.EncryptionMode>
Enum Constant and Description |
---|
ENCRYPT_SMIME_IF_MIME_PRESENT
Encrypt SMIME if MIME present
|
ENCRYPT_SMIME_NO_SENDER
Encrypt SMIME no sender.
|
ENCRYPT_SMIME_TRUST_ALL_CERTS
Encrypt SMIME trusting all certificates.
|
ENCRYPT_WITH_USER_PUBLIC_KEY
Encrypt the message with the key in the user's ID.
|
Modifier and Type | Method and Description |
---|---|
int |
getMode() |
static Document.EncryptionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Document.EncryptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Document.EncryptionMode ENCRYPT_WITH_USER_PUBLIC_KEY
public static final Document.EncryptionMode ENCRYPT_SMIME_IF_MIME_PRESENT
public static final Document.EncryptionMode ENCRYPT_SMIME_NO_SENDER
public static final Document.EncryptionMode ENCRYPT_SMIME_TRUST_ALL_CERTS
public static Document.EncryptionMode[] values()
for (Document.EncryptionMode c : Document.EncryptionMode.values()) System.out.println(c);
public static Document.EncryptionMode 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 nullpublic int getMode()
Copyright © 2019–2021 HCL. All rights reserved.