nxt.account

## Class Token

- java.lang.Object
- - nxt.account.Token

-     public final class Token
      extends java.lang.Object

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `generateToken(java.lang.String secretPhrase, byte[] message)`
    `static java.lang.String` | `generateToken(java.lang.String secretPhrase, java.lang.String messageString)`
    `byte[]` | `getPublicKey()`
    `int` | `getTimestamp()`
    `boolean` | `isValid()`
    `static Token` | `parseToken(java.lang.String tokenString, byte[] messageBytes)`
    `static Token` | `parseToken(java.lang.String tokenString, java.lang.String website)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### generateToken

          public static java.lang.String generateToken(java.lang.String secretPhrase,
                                                       java.lang.String messageString)

    - #### generateToken

          public static java.lang.String generateToken(java.lang.String secretPhrase,
                                                       byte[] message)

    - #### parseToken

          public static Token parseToken(java.lang.String tokenString,
                                         java.lang.String website)

    - #### parseToken

          public static Token parseToken(java.lang.String tokenString,
                                         byte[] messageBytes)

    - #### getPublicKey

          public byte[] getPublicKey()

    - #### getTimestamp

          public int getTimestamp()

    - #### isValid

          public boolean isValid()