public class GuidHelper extends Object
Constructor and Description |
---|
GuidHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
convertToADGUID(String guid)
Converts the HEX GUID to AD GUID
|
static String |
encodeGUIDForSearch(String guid)
Returns Byte String representation of GUID suitable for search.
|
static String |
getGUIDAsString(byte[] inArr)
The returned representation doesn't match AD's string representation,
but it doesn't matter as the GUID should be treated as an opaque
identifier.
|
public static final String BS
public static String getGUIDAsString(byte[] inArr)
inArr
- guidpublic static String encodeGUIDForSearch(String guid)
Example:
Input: 6797e1e5ecb5154f960f865c28c015fa Result: \67\97\e1\e5\ec\b5\15\4f\96\0f\86\5c\28\c0\15\fa
guid
- the guid to be used in searchCopyright © 2020 Atlassian. All rights reserved.