code: @Deprecated
      public void setTicketKeys(byte[] keys) {
          if (keys.length % SessionTicketKey.TICKET_KEY_SIZE != 0) {
              throw new IllegalArgumentException("keys.length % " + SessionTicketKey.TICKET_KEY_SIZE  + " != 0");
          }
          SessionTicketKey[] tickets = new SessionTicketKey[keys.length / SessionTicketKey.TICKET_KEY_SIZE];
          for (int i = 0, a = 0; i < tickets.length; i++) {
              byte[] name = Arrays.copyOfRange(keys, a, SessionTicketKey.NAME_SIZE);
              a += SessionTicketKey.NAME_SIZE;
              byte[] hmacKey = Arrays.copyOfRange(keys, a, SessionTicketKey.HMAC_KEY_SIZE);
              i += SessionTicketKey.HMAC_KEY_SIZE;
              byte[] aesKey = Arrays.copyOfRange(keys, a, SessionTicketKey.AES_KEY_SIZE);
              a += SessionTicketKey.AES_KEY_SIZE;
              tickets[i] = new SessionTicketKey(name, hmacKey, aesKey);
          }
          Lock writerLock = context.ctxLock.writeLock();
          writerLock.lock();
          try {
              SSLContext.clearOptions(context.ctx, SSL.SSL_OP_NO_TICKET);
              SSLContext.setSessionTicketKeys(context.ctx, tickets);
          } finally {
              writerLock.unlock();
          }
      }
docs: Sets the SSL session ticket keys of this context.
  @deprecated use {@link #setTicketKeys(OpenSslSessionTicketKey...)}.