Enum AppearanceItem

    • Enum Constant Detail

      • NAME

        public static final AppearanceItem NAME
        Represents the name of certificate owner.
      • DATE

        public static final AppearanceItem DATE
        Represents the date of applying electronic seal.
      • DISTINGUISHED_NAME

        public static final AppearanceItem DISTINGUISHED_NAME
        Represents the distinguished name information of certificate.
      • LABELS

        public static final AppearanceItem LABELS
        Represents labels for seal information.
      • SEAL_IMAGE

        public static final AppearanceItem SEAL_IMAGE
        Represents the background image to be used for sealing.
    • Method Detail

      • values

        public static AppearanceItem[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AppearanceItem c : AppearanceItem.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AppearanceItem valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getItem

        public String getItem()
        Returns the string representation of the appearance item.
        Returns:
        String representation of the appearance item