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