Class LicenseHelper


  • public class LicenseHelper
    extends Object
    • Constructor Detail

      • LicenseHelper

        public LicenseHelper()
    • Method Detail

      • validateLicense

        public static String validateLicense​(String licenseText)
                                      throws org.bouncycastle.openpgp.PGPException
        Validate pgp signature of license
        Parameters:
        licenseText - base64 encoded pgp signed license
        Returns:
        The plain license in json (if validation is successful)
        Throws:
        org.bouncycastle.openpgp.PGPException - if validation fails