blackboard.platform
Class LicenseUtil
java.lang.Object
|
+--blackboard.platform.LicenseUtil
- public class LicenseUtil
- extends java.lang.Object
LicenseUtil.
- Since:
- Bb 6.0
- Version:
- $Revision: 5 $ $Date: 4/08/03 10:55a $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LicenseUtil
public LicenseUtil()
createSignedLicenseManager
public static LicenseManager createSignedLicenseManager(LicenseManager lm)
createSignedLicense
public static License createSignedLicense(License l)
isValidLicenseKey
public static boolean isValidLicenseKey(License l)
isValidLicenseManagerKey
public static boolean isValidLicenseManagerKey(LicenseManager lm)
getHexString
public static java.lang.String getHexString(byte[] bytes)
- Returns the hexadecimal representation of the specified byte array. Used in formatting
message digests.
- Parameters:
bytes - byte array to display
- Returns:
- Hex-formatted string
getHashValue
public static java.lang.String getHashValue(java.lang.String input)
- Utility method that generates a hex-formatted string representation
of the message digest obtained from the specified string. Used in
generating persistent password references and challenges in the
challenge response protocol.
- Parameters:
input - String to hash, format and return
- Returns:
- Hexadecimal representation of the hashed message. All characters
are lowercase.
Copyright © 2003 Blackboard, Inc. All Rights Reserved.