public static void enable(OutputStream outputStream, String outFormat,
      InputStream inputStream, String inFormat, String masterKeyUri,
      String credentialPath, int keyId) throws Exception {
    TinkeyUtil.manipulateKey(TinkeyUtil.CommandType.ENABLE_KEY, outputStream, outFormat,
        inputStream, inFormat, masterKeyUri, credentialPath, keyId);
  }
Enables the key with {@code keyId} in the keyset (using {@code masterKeyUri}
{@code credentialPath} to decrypt if it is encrypted).
@throws GeneralSecurityException if the key is not found or it is already enabled.
tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/EnableKeyCommand.java