Enum Class CertificateEmbeddingOption

java.lang.Object
java.lang.Enum<CertificateEmbeddingOption>
org.apache.poi.openxml4j.opc.CertificateEmbeddingOption
All Implemented Interfaces:
Serializable, Comparable<CertificateEmbeddingOption>, Constable

public enum CertificateEmbeddingOption extends Enum<CertificateEmbeddingOption>
Specifies the location where the X.509 certificate that is used in signing is stored.
Author:
Julien Chable
  • Enum Constant Details

    • IN_CERTIFICATE_PART

      public static final CertificateEmbeddingOption IN_CERTIFICATE_PART
      The certificate is embedded in its own PackagePart.
    • IN_SIGNATURE_PART

      public static final CertificateEmbeddingOption IN_SIGNATURE_PART
      The certificate is embedded in the SignaturePart that is created for the signature being added.
    • NOT_EMBEDDED

      public static final CertificateEmbeddingOption NOT_EMBEDDED
      The certificate in not embedded in the package.
  • Method Details

    • values

      public static CertificateEmbeddingOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CertificateEmbeddingOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null