public static AesCmacPrfParameters create(int keySizeBytes) throws GeneralSecurityException {
    if (keySizeBytes != 16 && keySizeBytes != 32) {
      throw new InvalidAlgorithmParameterException(
          String.format(
              "Invalid key size %d; only 128-bit and 256-bit are supported", keySizeBytes * 8));
    }
    return new AesCmacPrfParameters(keySizeBytes);
  }
Describes the parameters of an {@link AesCmacPrfKey}.
java_src/src/main/java/com/google/crypto/tink/prf/AesCmacPrfParameters.java