Class HybrisLicenceCrypto

java.lang.Object
de.hybris.platform.licence.internal.HybrisLicenceCrypto

public class HybrisLicenceCrypto extends Object
  • Constructor Details

    • HybrisLicenceCrypto

      public HybrisLicenceCrypto()
  • Method Details

    • verifyAgainstPublicKey

      public boolean verifyAgainstPublicKey(Licence licence)
      Tests if the information of this licence is valid. This is currently done by checking if the specified signature is valid for the string representation of this licence using the given public key.

      We use the DSA algorithm included in the JDK. The public key must be encoded according to the X509 spec.