Class ServerLicenseDecoder
- java.lang.Object
-
- jetbrains.buildServer.license.decoder.ServerLicenseDecoder
-
- All Implemented Interfaces:
LicenseDecoder<ServerLicenseInfo>
public class ServerLicenseDecoder extends Object implements LicenseDecoder<ServerLicenseInfo>
-
-
Constructor Summary
Constructors Constructor Description ServerLicenseDecoder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerLicenseInfo
decodeLicenseKey(String licenseKey)
static byte[]
decrypt(String hexEncrypted)
static void
main(String[] args)
static void
printLicenseData(String licenseKey)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
printLicenseData
public static void printLicenseData(String licenseKey)
-
decodeLicenseKey
@NotNull public ServerLicenseInfo decodeLicenseKey(String licenseKey) throws InvalidLicenseKeyException
- Specified by:
decodeLicenseKey
in interfaceLicenseDecoder<ServerLicenseInfo>
- Throws:
InvalidLicenseKeyException
-
decrypt
public static byte[] decrypt(@NotNull String hexEncrypted)
-
-