Package tss.tpm

Enum TPMA_X509_KEY_USAGE._N

  • All Implemented Interfaces:
    Serializable, Comparable<TPMA_X509_KEY_USAGE._N>
    Enclosing class:
    TPMA_X509_KEY_USAGE

    public static enum TPMA_X509_KEY_USAGE._N
    extends Enum<TPMA_X509_KEY_USAGE._N>
    Values from enum _N are only intended to be used in case labels of a switch statement using the result of this.asEnum() method as the switch condition. However, their Java names are identical to those of the constants defined in this class further below, so for any other usage just prepend them with the TPMA_X509_KEY_USAGE. qualifier.
    • Method Detail

      • values

        public static TPMA_X509_KEY_USAGE._N[] 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 (TPMA_X509_KEY_USAGE._N c : TPMA_X509_KEY_USAGE._N.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TPMA_X509_KEY_USAGE._N 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