Public Methods | |
| TacAccessToken () | |
| TacAccessToken (byte[] dnAToken) throws TacException | |
| void | setRawAccessToken (byte[] dnAToken) throws TacException |
| byte[] | getFullAToken () |
| byte[] | getAToken () |
| String | getStrUserName () |
| void | setStrUserName (String UserName) throws TacException |
| byte[] | getKey () |
| void | setKey (byte[] pbKey) throws TacException |
| long | getExpiration () |
| void | setExpiration (long Expiration) throws TacException |
| TacAccessToken | ( | ) |
| TacAccessToken | ( | byte[] | dnAToken | ) | throws TacException |
| dnAToken | The AToken(DN_A_TOKEN structure) or Full AToken(DN_A_TOKEN_FULL structure) to initialize this class |
| TacException |
| void setRawAccessToken | ( | byte[] | dnAToken | ) | throws TacException |
| dnAToken | The AToken(DN_A_TOKEN structure) or Full AToken(DN_A_TOKEN_FULL structure) to initialize this class |
| TacException |
| byte[] getFullAToken | ( | ) |
| byte[] getAToken | ( | ) |
| String getStrUserName | ( | ) |
| void setStrUserName | ( | String | UserName | ) | throws TacException |
| UserName | the user name that will be defined in AToken. User identification in the HSM. |
| TacException |
| byte[] getKey | ( | ) |
| void setKey | ( | byte[] | pbKey | ) | throws TacException |
| pbKey | the access key that will be defined in AToken. |
| TacException |
| long getExpiration | ( | ) |
| void setExpiration | ( | long | Expiration | ) | throws TacException |
| Expiration | the expiration date to be set in AToken. Expiration date in date/time format; time_t. Number of seconds since UTC January 1, 1970 |
| TacException |