Token

public class Token

Created by bmalkow on 21.04.2017.

Methods

copy

static String copy(byte[] buff, int offset, int len)

create

public static Token create(BareJID jid)

create

public static Token create(BareJID jid, Date timestamp, String random)

getBuff

protected byte[] getBuff()

getEncoded

public String getEncoded()

getHash

public String getHash()

getJid

public BareJID getJid()

getRandom

public String getRandom()

getTimestamp

public Date getTimestamp()

nullPos

static int nullPos(byte[] buff, int from)

parse

public static Token parse(String encodedToken)