public TlsMac( IDigest digest, byte[] key_block, int offset, int len) { this.seqNo = 0; KeyParameter param = new KeyParameter(key_block, offset, len); this.secret = Arrays.Clone(param.GetKey()); this.mac = new HMac(digest); this.mac.Init(param); }