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 ServerLicenseInfodecodeLicenseKey(String licenseKey)static byte[]decrypt(String hexEncrypted)static voidmain(String[] args)static voidprintLicenseData(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:
decodeLicenseKeyin interfaceLicenseDecoder<ServerLicenseInfo>- Throws:
InvalidLicenseKeyException
-
decrypt
public static byte[] decrypt(@NotNull String hexEncrypted)
-
-