public static String getNonce ( long issueTime ) { long currentTime = new Date ( ) . getTime ( ) ; return TimeUnit . MILLISECONDS . toSeconds ( currentTime - issueTime ) + ":" + Long . toString ( System . nanoTime ( ) ) ; }
Returns a nonce value . The nonce value MUST be unique across all requests with the same MAC key identifier .