Class HybrisLicenceCrypto
- java.lang.Object
-
- de.hybris.platform.licence.internal.HybrisLicenceCrypto
-
public class HybrisLicenceCrypto extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HybrisLicenceCrypto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanverifyAgainstPublicKey(Licence licence)Tests if the information of this licence is valid.
-
-
-
Method Detail
-
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.
-
-