Enum Class StiLicenseSignatureVersion

java.lang.Object
java.lang.Enum<StiLicenseSignatureVersion>
com.stimulsoft.base.licenses.StiLicenseSignatureVersion
All Implemented Interfaces:
Serializable, Comparable<StiLicenseSignatureVersion>, Constable

public enum StiLicenseSignatureVersion extends Enum<StiLicenseSignatureVersion>
Copyright Stimulsoft
  • Enum Constant Details

    • Auto

      public static final StiLicenseSignatureVersion Auto
      Server decides based on the requesting SDK version (default).
    • V1

      public static final StiLicenseSignatureVersion V1
      Force legacy RSA-1024 + SHA-1 — for compatibility with old SDK clients that do not have the V2 verifier.
    • V2

      public static final StiLicenseSignatureVersion V2
      Force modern RSA-4096 + SHA-256 — requires an SDK with the V2 verifier (see length-based dispatch in StiLicense.IsValidLicenseKey).
  • Method Details

    • values

      public static StiLicenseSignatureVersion[] 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 StiLicenseSignatureVersion 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