code: public SecretKey toAes() {
          if (k == null) {
              return null;
          }
  
          SecretKey secretKey = new SecretKeySpec(k, "AES");
          return secretKey;
      }
docs: Converts JSON web key to AES key.
  
  @return AES key