TlsAead.getExplicitNonce

ubyte[] getExplicitNonce()

Returns the explicit nonce for TLS 1.2 GCM encryption.

The explicit nonce is the sequence number encoded as 8 big-endian bytes. This should be prepended to the ciphertext in TLS 1.2 records.

Returns

8-byte explicit nonce.