Package com.stimulsoft.base.licenses
Enum Class StiLicenseSignatureVersion
- All Implemented Interfaces:
Serializable,Comparable<StiLicenseSignatureVersion>,Constable
Copyright Stimulsoft
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionServer decides based on the requesting SDK version (default).Force legacy RSA-1024 + SHA-1 — for compatibility with old SDK clients that do not have the V2 verifier.Force modern RSA-4096 + SHA-256 — requires an SDK with the V2 verifier (see length-based dispatch inStiLicense.IsValidLicenseKey ). -
Method Summary
Modifier and TypeMethodDescriptionstatic StiLicenseSignatureVersionReturns the enum constant of this class with the specified name.static StiLicenseSignatureVersion[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Auto
Server decides based on the requesting SDK version (default). -
V1
Force legacy RSA-1024 + SHA-1 — for compatibility with old SDK clients that do not have the V2 verifier. -
V2
Force modern RSA-4096 + SHA-256 — requires an SDK with the V2 verifier (see length-based dispatch inStiLicense.IsValidLicenseKey ).
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-