java.io.Serializable
, java.lang.Comparable<CertificateEmbeddingOption>
public enum CertificateEmbeddingOption extends java.lang.Enum<CertificateEmbeddingOption>
Enum Constant | Description |
---|---|
IN_CERTIFICATE_PART |
The certificate is embedded in its own PackagePart.
|
IN_SIGNATURE_PART |
The certificate is embedded in the SignaturePart that is created for the signature being added.
|
NOT_EMBEDDED |
The certificate in not embedded in the package.
|
Modifier and Type | Method | Description |
---|---|---|
static CertificateEmbeddingOption |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CertificateEmbeddingOption[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertificateEmbeddingOption IN_CERTIFICATE_PART
public static final CertificateEmbeddingOption IN_SIGNATURE_PART
public static final CertificateEmbeddingOption NOT_EMBEDDED
public static CertificateEmbeddingOption[] values()
for (CertificateEmbeddingOption c : CertificateEmbeddingOption.values()) System.out.println(c);
public static CertificateEmbeddingOption 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 nullCopyright 2018 The Apache Software Foundation or its licensors, as applicable.