@Deprecated public final class LicenceAlgorithms extends Object
| Constructor and Description |
|---|
LicenceAlgorithms()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static KeyPair |
generateDSAKeyPair()
Deprecated.
|
static Date |
getLicenceDateFromString(String dateString)
Deprecated.
Converts a given licence date string into a real date object.
|
static String |
getLicenceDateString(Date date)
Deprecated.
Converts a given date into a string according to licence formatting.
|
static String |
getLicenceText(Licence licence)
Deprecated.
Constructs the text representation (used for signing !) of licence data.
|
static String |
getLicenceText(Properties props)
Deprecated.
Constructs the text representation (used for signing !) of licence data.
|
static boolean |
isValid(Licence licence,
PublicKey publicKey)
Deprecated.
Tests if the information of this licence is valid.
|
static boolean |
isValid(Licence licence,
String pubKeyBase64)
Deprecated.
Tests if the information of this licence is valid.
|
public static KeyPair generateDSAKeyPair()
public static Date getLicenceDateFromString(String dateString)
public static String getLicenceDateString(Date date)
public static String getLicenceText(Licence licence)
public static String getLicenceText(Properties props)
public static boolean isValid(Licence licence, String pubKeyBase64)
pubKeyBase64 - the public key as Base64 encoded byte arraypublic static boolean isValid(Licence licence, PublicKey publicKey)
publicKey - the public keyCopyright © 2017 SAP SE. All Rights Reserved.