|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pingidentity.sts.clientapi.utils.ClientUtils
public class ClientUtils
Utility class for generation of special elements for xml documents.
Constructor Summary | |
---|---|
ClientUtils()
|
Method Summary | |
---|---|
static java.lang.String |
createIdentifier()
This method returns a string is to be used as an identifer (http://www.w3.org/TR/xml11/#id) for an xml document - all the entries in the Base64 encoding table fit this definition with the exception of 62 (+) and 63 (/), which are account for and parsed out in the method implementation. |
static byte[] |
generateBytes(int length)
Generates random sequence of bytes in the byte array of the specified length. |
static java.util.TimeZone |
getUtcTimeZone()
Getting the timezone for UTC. |
static java.lang.String |
nowUtc()
|
static java.lang.String |
nowUtcPlus(int offset)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientUtils()
Method Detail |
---|
public static java.util.TimeZone getUtcTimeZone()
public static java.lang.String createIdentifier()
public static byte[] generateBytes(int length)
length
- the length of bytes to generate.
public static java.lang.String nowUtc()
public static java.lang.String nowUtcPlus(int offset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |